| Index: lib/LTO/LTOModule.cpp
|
| diff --git a/lib/LTO/LTOModule.cpp b/lib/LTO/LTOModule.cpp
|
| index d41306fbc61b4721b0a7fc475cfb9044d0d01065..bdb79f9c04c30ed8a6fe0bd3c5f09df4d7fb52bc 100644
|
| --- a/lib/LTO/LTOModule.cpp
|
| +++ b/lib/LTO/LTOModule.cpp
|
| @@ -205,13 +205,7 @@ LTOModule *LTOModule::makeLTOModule(MemoryBufferRef Buffer,
|
| return nullptr;
|
|
|
| std::string TripleStr = M->getTargetTriple();
|
| - // @LOCALMOD-BEGIN
|
| - // Pretend that we are ARM for name mangling and assembly conventions.
|
| - // https://code.google.com/p/nativeclient/issues/detail?id=2554
|
| - if (TripleStr == "le32-unknown-nacl") {
|
| - TripleStr = "armv7a-none-nacl-gnueabi";
|
| - }
|
| - // @LOCALMOD-END
|
| +
|
| if (TripleStr.empty())
|
| TripleStr = sys::getDefaultTargetTriple();
|
| llvm::Triple Triple(TripleStr);
|
|
|