summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-09-15 13:46:21 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-09-15 13:46:21 +0000
commitc40de480418dae6cd11df64528c0074229e83769 (patch)
treeb6ad2b016790cd1963f00068aa8a75f2a0990cea /llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
parentd1062bbd893a43004a19a65c414b0453cf3ca04d (diff)
downloadbcm5719-llvm-c40de480418dae6cd11df64528c0074229e83769.tar.gz
bcm5719-llvm-c40de480418dae6cd11df64528c0074229e83769.zip
Revert r247684 - Replace Triple with a new TargetTuple ...
LLDB needs to be updated in the same commit. llvm-svn: 247686
Diffstat (limited to 'llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp')
-rw-r--r--llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp b/llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
index a8cb8084843..2e353cbb9a2 100644
--- a/llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
+++ b/llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
@@ -1068,8 +1068,8 @@ unsigned X86AsmInstrumentation::GetFrameRegGeneric(const MCContext &Ctx,
X86AsmInstrumentation *
CreateX86AsmInstrumentation(const MCTargetOptions &MCOptions,
const MCContext &Ctx, const MCSubtargetInfo &STI) {
- const TargetTuple &TT = STI.getTargetTuple();
- const bool hasCompilerRTSupport = TT.isOSLinux();
+ Triple T(STI.getTargetTriple());
+ const bool hasCompilerRTSupport = T.isOSLinux();
if (ClAsanInstrumentAssembly && hasCompilerRTSupport &&
MCOptions.SanitizeAddress) {
if (STI.getFeatureBits()[X86::Mode32Bit] != 0)
OpenPOWER on IntegriCloud