summaryrefslogtreecommitdiff
path: root/lib/Target/TGSI/TGSITargetMachine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/TGSI/TGSITargetMachine.cpp')
-rw-r--r--lib/Target/TGSI/TGSITargetMachine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/TGSI/TGSITargetMachine.cpp b/lib/Target/TGSI/TGSITargetMachine.cpp
index 80fde34d1ed..e25ad14412f 100644
--- a/lib/Target/TGSI/TGSITargetMachine.cpp
+++ b/lib/Target/TGSI/TGSITargetMachine.cpp
@@ -13,6 +13,7 @@
#include "TGSI.h"
#include "TGSITargetMachine.h"
+#include "TGSITargetObjectFile.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/CodeGen/TargetPassConfig.h"
@@ -60,7 +61,7 @@ TGSITargetMachine::TGSITargetMachine(const Target &T, const Triple &TT,
// So we always use Reloc::Static
: LLVMTargetMachine(T, computeDataLayout(TT, CPU, Options),
TT, CPU, FS, Options, Reloc::Static, CM, OL),
- TLOF(make_unique<TargetLoweringObjectFileELF>()),
+ TLOF(make_unique<TGSITargetObjectFile>()),
Subtarget(TT, CPU, FS, *this) {
initAsmInfo();
}