mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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_);
|
||||
|
||||
Reference in New Issue
Block a user