Revert "Use clang's effective llvm triple for IR generation (#10211)"

This reverts commit 2e3522fafc because debugging
with thumb instructions is broken and being worked on.

rdar://32599805
This commit is contained in:
Arnold Schwaighofer
2017-09-12 13:16:26 -07:00
parent bfe6a64708
commit 034241e440
9 changed files with 39 additions and 85 deletions

View File

@@ -953,9 +953,8 @@ public:
std::string ErrorMsg;
llvm::TargetOptions TargetOpt;
std::string CPU;
std::string Triple;
std::vector<std::string> Features;
std::tie(TargetOpt, CPU, Features, Triple)
std::tie(TargetOpt, CPU, Features)
= getIRTargetOptions(IRGenOpts, CI.getASTContext());
builder.setRelocationModel(llvm::Reloc::PIC_);