summaryrefslogtreecommitdiff
path: root/include/llvm/Object/IRObjectFile.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-28 02:17:23 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-28 02:17:23 +0000
commit0ff25b31d895c82d3fea67b76531c9580ce00d0a (patch)
treec53e717f4a185146c089c437031d85c8ec45eb9d /include/llvm/Object/IRObjectFile.h
parent5de0f3d6dab142f12d88af13890feafcf7f2c7c3 (diff)
downloadllvm-0ff25b31d895c82d3fea67b76531c9580ce00d0a.tar.gz
llvm-0ff25b31d895c82d3fea67b76531c9580ce00d0a.tar.bz2
llvm-0ff25b31d895c82d3fea67b76531c9580ce00d0a.tar.xz
Now that it is possible, use the mangler in IRObjectFile.
A really simple patch marks the end of a lot of yak shaving :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202463 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/IRObjectFile.h')
-rw-r--r--include/llvm/Object/IRObjectFile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Object/IRObjectFile.h b/include/llvm/Object/IRObjectFile.h
index e1effa6745..e85dd67103 100644
--- a/include/llvm/Object/IRObjectFile.h
+++ b/include/llvm/Object/IRObjectFile.h
@@ -17,12 +17,14 @@
#include "llvm/Object/SymbolicFile.h"
namespace llvm {
+class Mangler;
class Module;
class GlobalValue;
namespace object {
class IRObjectFile : public SymbolicFile {
OwningPtr<Module> M;
+ OwningPtr<Mangler> Mang;
public:
IRObjectFile(MemoryBuffer *Object, error_code &EC, LLVMContext &Context,
bool BufferOwned);