diff options
author | Bill Wendling <isanbard@gmail.com> | 2007-01-17 03:50:41 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2007-01-17 03:50:41 +0000 |
commit | cc91f5862ca316e233b880ad9156ec8a050f443e (patch) | |
tree | 6f427e35bfcffa64f14342d7d24ea4cd08c84ded /lib/Target/TargetMachine.cpp | |
parent | 157c4eeb4d81140ce8c4dbff630828546d62d599 (diff) |
Create/store/and delete the TargetObjInfo object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33290 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetMachine.cpp')
-rw-r--r-- | lib/Target/TargetMachine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp index 7547614a71..e446b61c4e 100644 --- a/lib/Target/TargetMachine.cpp +++ b/lib/Target/TargetMachine.cpp @@ -13,6 +13,7 @@ #include "llvm/Target/TargetAsmInfo.h" #include "llvm/Target/TargetMachine.h" +#include "llvm/Target/TargetObjInfo.h" #include "llvm/Target/TargetOptions.h" #include "llvm/Support/CommandLine.h" using namespace llvm; @@ -104,6 +105,7 @@ namespace { TargetMachine::~TargetMachine() { delete AsmInfo; + delete ObjInfo; } /// getRelocationModel - Returns the code generation relocation model. The |