mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 13:46:13 +00:00
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:
parent
157c4eeb4d
commit
cc91f5862c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user