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

Unified Diff: src/IceClFlags.cpp

Issue 1805593002: Subzero: Shorten global prefixes in non-DUMP build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 9 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 | « src/IceBrowserCompileServer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceClFlags.cpp
diff --git a/src/IceClFlags.cpp b/src/IceClFlags.cpp
index b944ec0f531fb92356610a6989c49615ad5435a1..ddc7f1483f4520f6eaf5d9790f27e12f0b926bc3 100644
--- a/src/IceClFlags.cpp
+++ b/src/IceClFlags.cpp
@@ -84,14 +84,14 @@ cl::opt<std::string>
DefaultFunctionPrefix("default-function-prefix",
cl::desc("Define default function prefix for naming "
"unnamed functions"),
- cl::init("Function"));
+ cl::init(Ice::BuildDefs::dump() ? "Function" : "F"));
/// Define default global prefix for naming unnamed globals.
cl::opt<std::string>
DefaultGlobalPrefix("default-global-prefix",
cl::desc("Define default global prefix for naming "
"unnamed globals"),
- cl::init("Global"));
+ cl::init(Ice::BuildDefs::dump() ? "Global" : "G"));
/// Disable hybrid assembly when -filetype=iasm.
cl::opt<bool> DisableHybridAssembly(
« no previous file with comments | « src/IceBrowserCompileServer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698