diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-09-15 13:46:21 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-09-15 13:46:21 +0000 |
commit | c40de480418dae6cd11df64528c0074229e83769 (patch) | |
tree | b6ad2b016790cd1963f00068aa8a75f2a0990cea /llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp | |
parent | d1062bbd893a43004a19a65c414b0453cf3ca04d (diff) | |
download | bcm5719-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.cpp | 4 |
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) |