summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2015-09-25 21:41:28 +0000
committerTom Stellard <thomas.stellard@amd.com>2015-09-25 21:41:28 +0000
commite135ffd55416a98a634621b99584ece0c19e8003 (patch)
tree0e2c114958a67e9acc48b9181754d44e497bf51f /llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
parent8e0257625dbe290acd1824cb7bd1224991edf132 (diff)
downloadbcm5719-llvm-e135ffd55416a98a634621b99584ece0c19e8003.tar.gz
bcm5719-llvm-e135ffd55416a98a634621b99584ece0c19e8003.zip
AMDGPU/SI: Use .hsatext section instead of .text for HSA
Reviewers: arsenm, grosbach, rafael Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D12424 llvm-svn: 248619
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
index 14792e347a7..236e3f82403 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
@@ -32,7 +32,7 @@ class AMDGPUTargetMachine : public LLVMTargetMachine {
private:
protected:
- TargetLoweringObjectFile *TLOF;
+ std::unique_ptr<TargetLoweringObjectFile> TLOF;
AMDGPUSubtarget Subtarget;
AMDGPUIntrinsicInfo IntrinsicInfo;
@@ -52,7 +52,7 @@ public:
TargetIRAnalysis getTargetIRAnalysis() override;
TargetLoweringObjectFile *getObjFileLowering() const override {
- return TLOF;
+ return TLOF.get();
}
};
OpenPOWER on IntegriCloud