Create/store/and delete the TargetObjInfo object.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33290 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2007-01-17 03:50:41 +00:00
parent 157c4eeb4d
commit cc91f5862c

View File

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