llvm-project/compiler-rt/lib
Jay Foad cf2d4b8ea4 [ASan] Fix use of -asan-instrument-assembly in tests
Summary:
The option -asan-instrument-assembly is declared in the X86 backend.
If I test on PowerPC configured with LLVM_TARGETS_TO_BUILD=All then the
option is tolerated but ignored.
If I test on PowerPC configured with LLVM_TARGETS_TO_BUILD=PowerPC then
the testsuite fails with:
[ 93%] Generating ASAN_INST_TEST_OBJECTS.gtest-all.cc.powerpc64-inline.o
clang (LLVM option parsing): Unknown command line argument '-asan-instrument-assembly'.  Try: 'clang (LLVM option parsing) -help'

Fix this inconsistency by only adding the option if that toolchain was
built with the X86 backend included.

Reviewers: kcc, samsonov, eugenis

Reviewed By: eugenis

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D6190

llvm-svn: 221687
2014-11-11 13:44:08 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan [ASan] Fix use of -asan-instrument-assembly in tests 2014-11-11 13:44:08 +00:00
builtins builtins: avoid endian.h in favour of compiler builtins 2014-10-25 20:54:51 +00:00
dfsan [dfsan] Add runtime function for aborting on indirect calls to 2014-11-05 17:21:11 +00:00
interception [sanitizer] Android build cleanup. 2014-09-29 13:18:55 +00:00
lsan Change StackDepot interface to use StackTrace more extensively 2014-10-26 06:23:07 +00:00
msan [Sanitizer] Return code that calculates hash for stacktrace back to StackDepot implementation 2014-10-27 03:10:27 +00:00
msandr [msandr] Access app TLS directly in native exec mode. 2014-01-20 13:09:29 +00:00
profile profile: Avoid name collisions between instrumentation and runtime 2014-09-04 15:45:31 +00:00
sanitizer_common [Sanitizers] Enable stack traces on FreeBSD 2014-11-10 15:22:04 +00:00
tsan [Sanitizer] Introduce "stack_trace_format" runtime flag. 2014-11-06 18:43:45 +00:00
ubsan UBSan: Teach isDerivedFromAtOffset and findBaseAtOffset about vbases 2014-11-06 08:55:23 +00:00
CMakeLists.txt Fix build on some architectures caused by r215247. 2014-08-11 19:57:56 +00:00
Makefile.mk Move original compiler-rt functions (libgcc replacement) to lib/builtins directory 2014-02-14 09:20:33 +00:00