forked from OSchip/llvm-project
[MC] Remove an unused (and broken) variant of the setupForSymbolicDisassembly
method in MCDisassembler. llvm-svn: 205123
This commit is contained in:
parent
652b0a4f3b
commit
c339840666
|
@ -117,11 +117,6 @@ public:
|
|||
void setSymbolizer(std::unique_ptr<MCSymbolizer> Symzer);
|
||||
|
||||
/// Sets up an external symbolizer that uses the C API callbacks.
|
||||
void setupForSymbolicDisassembly(LLVMOpInfoCallback GetOpInfo,
|
||||
LLVMSymbolLookupCallback SymbolLookUp,
|
||||
void *DisInfo,
|
||||
MCContext *Ctx,
|
||||
OwningPtr<MCRelocationInfo> &RelInfo);
|
||||
void setupForSymbolicDisassembly(LLVMOpInfoCallback GetOpInfo,
|
||||
LLVMSymbolLookupCallback SymbolLookUp,
|
||||
void *DisInfo,
|
||||
|
|
|
@ -30,14 +30,6 @@ void MCDisassembler::setupForSymbolicDisassembly(
|
|||
DisInfo));
|
||||
}
|
||||
|
||||
void MCDisassembler::setupForSymbolicDisassembly(
|
||||
LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp,
|
||||
void *DisInfo, MCContext *Ctx, OwningPtr<MCRelocationInfo> &RelInfo) {
|
||||
std::unique_ptr<MCRelocationInfo> MCRI;
|
||||
setupForSymbolicDisassembly(GetOpInfo, SymbolLookUp, DisInfo, Ctx, MCRI);
|
||||
RelInfo = std::move(MCRI);
|
||||
}
|
||||
|
||||
bool MCDisassembler::tryAddingSymbolicOperand(MCInst &Inst, int64_t Value,
|
||||
uint64_t Address, bool IsBranch,
|
||||
uint64_t Offset,
|
||||
|
|
Loading…
Reference in New Issue