mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 07:09:08 +00:00
[llvm-nm] Small fix to Exected<StringRef>
Differential Revision: https://reviews.llvm.org/D66976 llvm-svn: 370474
This commit is contained in:
parent
fa73d7c8a9
commit
439ff91bbd
@ -1099,7 +1099,7 @@ static char getNMSectionTagAndName(SymbolicFile &Obj, basic_symbol_iterator I,
|
||||
|
||||
Expected<StringRef> NameOrErr = (*SecIOrErr)->getName();
|
||||
if (!NameOrErr) {
|
||||
consumeError(SecIOrErr.takeError());
|
||||
consumeError(NameOrErr.takeError());
|
||||
return '?';
|
||||
}
|
||||
SecName = *NameOrErr;
|
||||
|
Loading…
Reference in New Issue
Block a user