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
This commit is contained in:
Rafael Espindola
2014-02-28 02:17:23 +00:00
parent 5de0f3d6da
commit 0ff25b31d8
4 changed files with 27 additions and 2 deletions

View File

@ -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);