[compiler-rt] r357960 - hwasan: Enable -hwasan-allow-ifunc by default.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 8 17:25:59 PDT 2019


Author: pcc
Date: Mon Apr  8 17:25:59 2019
New Revision: 357960

URL: http://llvm.org/viewvc/llvm-project?rev=357960&view=rev
Log:
hwasan: Enable -hwasan-allow-ifunc by default.

It's been on in Android for a while without causing problems, so it's time
to make it the default and remove the flag.

Differential Revision: https://reviews.llvm.org/D60355

Modified:
    compiler-rt/trunk/test/hwasan/lit.cfg

Modified: compiler-rt/trunk/test/hwasan/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/hwasan/lit.cfg?rev=357960&r1=357959&r2=357960&view=diff
==============================================================================
--- compiler-rt/trunk/test/hwasan/lit.cfg (original)
+++ compiler-rt/trunk/test/hwasan/lit.cfg Mon Apr  8 17:25:59 2019
@@ -11,8 +11,7 @@ config.test_source_root = os.path.dirnam
 # Setup default compiler flags used with -fsanitize=memory option.
 clang_cflags = [config.target_cflags] + config.debug_info_flags
 clang_cxxflags = config.cxx_mode_flags + clang_cflags
-clang_hwasan_cflags = ["-fsanitize=hwaddress", "-mllvm", "-hwasan-generate-tags-with-calls",
-                       "-mllvm", "-hwasan-allow-ifunc"] + clang_cflags
+clang_hwasan_cflags = ["-fsanitize=hwaddress", "-mllvm", "-hwasan-generate-tags-with-calls"] + clang_cflags
 clang_hwasan_cxxflags = config.cxx_mode_flags + clang_hwasan_cflags
 
 def build_invocation(compile_flags):




More information about the llvm-commits mailing list