summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCDisassembler.h
diff options
context:
space:
mode:
authorAhmed Charles <ahmedcharles@gmail.com>2014-03-05 10:27:34 +0000
committerAhmed Charles <ahmedcharles@gmail.com>2014-03-05 10:27:34 +0000
commitfbf6daaec64cced33b5b4e944ef4804ad79d76c2 (patch)
tree4ccdd8285c6cba6f1216cab860a714d04d37962c /include/llvm/MC/MCDisassembler.h
parent2e816f0d562294c82b9fb31762371c59654c71e1 (diff)
downloadllvm-fbf6daaec64cced33b5b4e944ef4804ad79d76c2.tar.gz
llvm-fbf6daaec64cced33b5b4e944ef4804ad79d76c2.tar.bz2
llvm-fbf6daaec64cced33b5b4e944ef4804ad79d76c2.tar.xz
[C++11] Add overloads for externally used OwningPtr functions.
This will allow external callers of these functions to switch over time rather than forcing a breaking change all a once. These particular functions were determined by building clang/lld/lldb. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCDisassembler.h')
-rw-r--r--include/llvm/MC/MCDisassembler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/MC/MCDisassembler.h b/include/llvm/MC/MCDisassembler.h
index 8fd64df2e9..f82ebca525 100644
--- a/include/llvm/MC/MCDisassembler.h
+++ b/include/llvm/MC/MCDisassembler.h
@@ -123,6 +123,11 @@ public:
void *DisInfo,
MCContext *Ctx,
OwningPtr<MCRelocationInfo> &RelInfo);
+ void setupForSymbolicDisassembly(LLVMOpInfoCallback GetOpInfo,
+ LLVMSymbolLookupCallback SymbolLookUp,
+ void *DisInfo,
+ MCContext *Ctx,
+ std::unique_ptr<MCRelocationInfo> &RelInfo);
LLVMOpInfoCallback getLLVMOpInfoCallback() const { return GetOpInfo; }
LLVMSymbolLookupCallback getLLVMSymbolLookupCallback() const {