projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
157c4ee
)
Create/store/and delete the TargetObjInfo object.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 17 Jan 2007 03:50:41 +0000
(
03:50
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 17 Jan 2007 03:50:41 +0000
(
03:50
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33290
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/TargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/TargetMachine.cpp
b/lib/Target/TargetMachine.cpp
index 7547614a717425d446f0ac5772b52eae0bd2bef5..e446b61c4e4b1e255aea958bd4188b082fafbb99 100644
(file)
--- 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