mirror of
https://github.com/obfuscator-llvm/obfuscator
synced 2026-06-08 16:28:34 +00:00
Initial commit of LLVM 3.4
This commit is contained in:
@@ -219,10 +219,7 @@ uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI) {
|
||||
}
|
||||
|
||||
LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI) {
|
||||
SymbolRef ret;
|
||||
if (error_code ec = (*unwrap(RI))->getSymbol(ret))
|
||||
report_fatal_error(ec.message());
|
||||
|
||||
symbol_iterator ret = (*unwrap(RI))->getSymbol();
|
||||
return wrap(new symbol_iterator(ret));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user