Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Unified Diff: lib/LTO/LTOModule.cpp

Issue 1395453003: Create a proper target machine for PNaCl. Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Fix a test Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « configure ('k') | lib/Target/LLVMBuild.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « configure ('k') | lib/Target/LLVMBuild.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698