[PATCH] Add compiler support for dynamic Asan runtime

Yury Gribov tetra2005 at gmail.com
Wed Mar 26 11:47:42 PDT 2014



================
Comment at: lib/Driver/SanitizerArgs.cpp:174
@@ -172,1 +173,3 @@
+  if (NeedsAsan) {
+    AsanSharedRuntime = Args.hasArg(options::OPT_shared_libasan);
     AsanZeroBaseShadow =
----------------
Alexey Samsonov wrote:
> Why not define AsanSharedRuntime to true for llvm::Triple::Android here?
Well, I thought about this. But my understanding was that SanitizerArgs is really about cmdline args, not about making control decisions.


http://llvm-reviews.chandlerc.com/D3043



More information about the llvm-commits mailing list