mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
More more change need as part of r264187 where ErrorOr<> was added
to getSymbolType(). llvm-svn: 264194
This commit is contained in:
parent
e3e05be155
commit
a74c40dcab
@ -113,7 +113,11 @@ void IntelJITEventListener::NotifyObjectEmitted(
|
||||
std::vector<LineNumberInfo> LineInfo;
|
||||
std::string SourceFileName;
|
||||
|
||||
if (Sym.getType() != SymbolRef::ST_Function)
|
||||
ErrorOr<SymbolRef::Type> SymTypeOrErr = Sym.getType();
|
||||
if (!SymTypeOrErr)
|
||||
continue;
|
||||
SymbolRef::Type SymType = *SymTypeOrErr;
|
||||
if (SymType != SymbolRef::ST_Function)
|
||||
continue;
|
||||
|
||||
ErrorOr<StringRef> Name = Sym.getName();
|
||||
|
Loading…
x
Reference in New Issue
Block a user