llvm-project/compiler-rt/make
Chandler Carruth 1aa4fef601 Relocate the external headers provided by ASan and the common sanitizer
library.

These headers are intended to be available to user code when built with
AddressSanitizer (or one of the other sanitizer's in the future) to
interface with the runtime library. As such, they form stable external
C interfaces, and the headers shouldn't be located within the
implementation.

I've pulled them out into what seem like fairly obvious locations and
names, but I'm wide open to further bikeshedding of these names and
locations.

I've updated the code and the build system to cope with the new
locations, both CMake and Makefile. Please let me know if this breaks
anyone's build.

The eventual goal is to install these headers along side the Clang
builtin headers when we build the ASan runtime and install it. My
current thinking is to locate them at:

  <prefix>/lib/clang/X.Y/include/sanitizer/common_interface_defs.h
  <prefix>/lib/clang/X.Y/include/sanitizer/asan_interface.h
  <prefix>/lib/clang/X.Y/include/sanitizer/...

But maybe others have different suggestions?

Fixing the style of the #include between these headers at least unblocks
experimentation with installing them as they now should work when
installed in these locations.

llvm-svn: 162822
2012-08-29 02:27:54 +00:00
..
platform build/clang_darwin: More principled fix for PR12918; none of this stuff should 2012-06-25 22:41:31 +00:00
test Add support for "platform" configurations, which define a suite of compiler-rt 2010-01-18 06:49:33 +00:00
AppleBI.mk <rdar://problem/10172492> No armv4t slice of libcompiler_rt-static.a 2011-09-27 20:05:27 +00:00
config.mk Relocate the external headers provided by ASan and the common sanitizer 2012-08-29 02:27:54 +00:00
filter-inputs improve portability to platforms that don't put python in /usr/bin. Patch by 2009-07-06 22:24:16 +00:00
lib_info.mk build: Add ModuleName per-subdir variable as a way to organize the different 2011-12-02 02:42:07 +00:00
lib_platforms.mk Allow UniversalArchs variable to be overridden on a per-config basis. 2010-01-19 00:01:15 +00:00
lib_util.mk Add support for "platform" configurations, which define a suite of compiler-rt 2010-01-18 06:49:33 +00:00
options.mk add STRIP and LIPO as AvailableOptions 2011-06-20 23:47:02 +00:00
subdir.mk 80 columns 2012-06-14 19:58:46 +00:00
util.mk make: Add CheckCommandLineOverrides to my little Makefile library, a routine for 2010-10-14 21:23:37 +00:00