[PATCH] Add a libc-independent sanitizer_common for Linux/x86_64.
Peter Collingbourne
peter at pcc.me.uk
Wed Apr 10 12:55:52 PDT 2013
Hi dvyukov, kcc,
In order to sanitize an entire process, it is important for a
sanitizer runtime to have no external dependencies, including libc.
This patch introduces a new object library containing a subset of
sanitizer_common which is intended to have no libc dependencies.
This condition is currently achieved for Linux/x86_64.
(CMake-only for now; I haven't looked at how to do this in the Makefile
build yet.)
http://llvm-reviews.chandlerc.com/D654
Files:
lib/sanitizer_common/CMakeLists.txt
lib/sanitizer_common/sanitizer_allocator.cc
lib/sanitizer_common/sanitizer_common.cc
lib/sanitizer_common/sanitizer_common.h
lib/sanitizer_common/sanitizer_internal_defs.h
lib/sanitizer_common/sanitizer_libc.cc
lib/sanitizer_common/sanitizer_libc.h
lib/sanitizer_common/sanitizer_linux.cc
lib/sanitizer_common/sanitizer_linux.h
lib/sanitizer_common/sanitizer_mac.cc
lib/sanitizer_common/sanitizer_posix.cc
lib/sanitizer_common/sanitizer_stacktrace.cc
lib/sanitizer_common/sanitizer_stoptheworld_linux.cc
lib/sanitizer_common/sanitizer_symbolizer.cc
lib/sanitizer_common/sanitizer_symbolizer_linux.cc
lib/sanitizer_common/sanitizer_win.cc
lib/sanitizer_common/tests/sanitizer_libc_test.cc
lib/tsan/rtl/tsan_platform_linux.cc
lib/tsan/rtl/tsan_rtl.cc
lib/tsan/rtl/tsan_suppressions.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D654.1.patch
Type: text/x-patch
Size: 41573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130410/9cc3379e/attachment.bin>
More information about the llvm-commits
mailing list