[PATCH] D39901: ASAN lit support for LTO testing and add back ThinLTO test

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 10 13:11:08 PST 2017


eugenis added inline comments.


================
Comment at: test/asan/lit.cfg:111
+config.substitutions.append( ("%clang_lto_asan ", build_invocation(clang_asan_cflags, True)) )
+config.substitutions.append( ("%clangxx_lto_asan ", build_invocation(clang_asan_cxxflags, True)) )
 config.substitutions.append( ("%shared_libasan", "libclang_rt.asan-%s.so" % config.target_arch))
----------------
Let's just not define these substitutions when lto is not supported. Any test case that uses them must REQUIRE: lto.


https://reviews.llvm.org/D39901





More information about the llvm-commits mailing list