Create/store/and delete the TargetObjInfo object.

llvm-svn: 33290
This commit is contained in:
Bill Wendling 2007-01-17 03:50:41 +00:00
parent ad6ddaa316
commit dafa644e4d

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