[PATCH] Optional support for dynamic Asan runtime

Yury Gribov tetra2005 at gmail.com
Thu Mar 27 05:15:55 PDT 2014



================
Comment at: test/asan/CMakeLists.txt:44
@@ -35,1 +43,3 @@
+  set(ASAN_TEST_DYNAMIC False)
+  set(ASAN_RT_SUFFIX "i386")
   configure_lit_site_cfg(
----------------
Alexey Samsonov wrote:
> Can you instead just unconditionally provide the basename of dynamic ASan runtime (for i386, x86_64, powerpc64) when configuring a dynamic test suite (and not deal with this asan_rt_suffix)?
I'm not sure how to provide it for unit tests below.

================
Comment at: test/asan/CMakeLists.txt:66
@@ +65,3 @@
+  if(COMPILER_RT_BUILD_SHARED_ASAN)
+    set(ASAN_TEST_DYNAMIC True)
+    configure_lit_site_cfg(
----------------
Here.


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



More information about the llvm-commits mailing list