llvm-project/compiler-rt/lib
Douglas Katzman c4ffd48aba Let cmake infer source file language by the file extension.
This applies default compiler flags to .S files, in particular removing
the "-pedantic" option, which is desirable because there is nothing to
reasonably warn about; and the only thing that gcc warns about is that
you allegedly can't correctly invoke GLUE2 in lib/builtins/assembly.h
on platforms for which USER_LABEL_PREFIX is the empty string.

In the gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33305 that
added the warning, a commenter notes that giving a macro of zero characters
to another macro is not precisely the same as failing to supply an argument,
and "there is a widespread belief in C++ community that such usage is valid".
Unfortunately the only way to silence the warning is to avoid -pedantic.

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

llvm-svn: 243446
2015-07-28 16:52:42 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan [asan] Set abort_on_error=1 by default on OS X 2015-07-28 14:34:13 +00:00
builtins Let cmake infer source file language by the file extension. 2015-07-28 16:52:42 +00:00
cfi CFI: Add a default blacklist. 2015-07-15 12:16:25 +00:00
dfsan [dfsan/libFuzzer] correctly ignore sanitizer coverage calls in dfsan 2015-07-28 00:57:07 +00:00
interception CMake: Stop using LLVM's custom parse_arguments. NFC 2015-06-19 03:39:24 +00:00
lsan [sanitizer] Implement include_if_exists with process name substitution. 2015-07-21 23:03:13 +00:00
msan [sanitizer] Implement include_if_exists with process name substitution. 2015-07-21 23:03:13 +00:00
profile [probile] Fix memory leak introduced in r241824. 2015-07-15 22:50:39 +00:00
safestack [sanitizer] Implement logging to syslog. 2015-07-23 22:05:20 +00:00
sanitizer_common [sanitizer] Fix FreeBSD build of sanitizer_common. 2015-07-28 00:29:47 +00:00
tsan tsan: fix shift overflow 2015-07-26 07:45:26 +00:00
ubsan [UBSan][MIPS] Fix cast-overflow tests for mips big endian 2015-07-28 05:51:51 +00:00
CMakeLists.txt CFI: Add a default blacklist. 2015-07-15 12:16:25 +00:00
Makefile.mk Remove support for building sanitizers from Makefile/autoconf build on Linux. 2015-02-18 22:26:49 +00:00