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

Unified Diff: src/IceClFlags.def

Issue 2042063002: Created Ice::Instrumentation base class and accompanying hooks. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Style and comment fixes Created 4 years, 6 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/IceCfg.cpp ('k') | src/IceCompileServer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceClFlags.def
diff --git a/src/IceClFlags.def b/src/IceClFlags.def
index 0706e03cee3894aeb637531771036c761ff8902c..7488698532e3b80c46cc0e4b77fe4cf6b8ef8cf4 100644
--- a/src/IceClFlags.def
+++ b/src/IceClFlags.def
@@ -257,6 +257,11 @@ struct dev_list_flag {};
X(RepeatRegAlloc, bool, dev_opt_flag, "regalloc-repeat", \
cl::desc("Repeat register allocation until convergence"), cl::init(true)) \
\
+ /* TODO(tlively): Generalize this to handle more sanitizers */ \
+ X(SanitizeAddresses, bool, dev_opt_flag, "fsanitize-address", \
+ cl::desc("Instrument compiled code with Address Sanitizer"), \
+ cl::init(false)) \
+ \
X(ShouldDoNopInsertion, bool, dev_opt_flag, "nop-insertion", \
cl::desc("Randomly insert NOPs"), cl::init(false)) \
\
@@ -357,6 +362,7 @@ struct dev_list_flag {};
X(WasmBoundsCheck, bool, dev_opt_flag, "wasm-bounds-check", \
cl::desc("Add bounds checking code in WASM frontend"), \
cl::init(true))
+
//#define X(Name, Type, ClType, ...)
} // end of namespace Ice
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceCompileServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698