History log of /external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5d71de26cedae3dafc17449fe0182045c0bd20e8 21-Jul-2014 Stephen Hines <srhines@google.com> Update compiler-rt for rebase to r212749.

Includes a cherry-pick of:
r213309 - fixes umodsi3

Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
dbd69cc9ccda50efd0305cd0ce9bad50defe4b42 15-Nov-2013 Bob Wilson <bob.wilson@apple.com> Reapply asan coverage changes 194702-194704.

I still don't know what is causing our bootstrapped LTO buildbots to fail,
but llvm r194701 seems to be OK and I can't imagine that these changes could
cause the problem.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194790 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
ae51c273d55fa172908cf940c238eacec0f73223 15-Nov-2013 Bob Wilson <bob.wilson@apple.com> Speculatively revert asan coverage changes 194702-194704.

Apple's bootstrapped LTO builds have been failing, and these changes (along
with llvm 194701) are the only things on the blamelist. I will either reapply
these changes or help debug the problem, depending on whether this fixes the
buildbots.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
68e16eb59c7f654cdb98a2811b3a42612b58a735 14-Nov-2013 Kostya Serebryany <kcc@google.com> [asan] Poor man's coverage that works with ASan (compiler-rt part)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194702 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
49496747758bf44163768ce3e07e40c8f95ccba9 07-Nov-2013 Alexander Potapenko <glider@google.com> [ASan] Add CMake configs for libclang_rt.asan_iossim_dynamic.dylib

CMake changes to build the ASan runtime for the iOS simulator. This is a universal library targeting the same architectures as the OSX ASan runtime does, thus the iossim version can't live in the same universal libclang_rt.asan_osx_dynamic.dylib

The difference between the OSX and iossim builds is in the -mios-simulator-version-min and -ios_simulator_version_min flags that tell Clang to compile and link iossim code.

The iossim runtime can only be built on a machine with both Xcode and the iOS Simulator SDK installed. If xcodebuild -version -sdk iphonesimulator Path returns a nonempty path, it is used when compiling and linking the iossim runtime.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194199 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
e74968cbb29c80073e4ff440555e35f3fbed2f20 07-Nov-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Call Windows unwinder 'slow' and share StackTrace::Unwind across all platforms. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
c1a1ed62228288155459d39194995a36aca4a8a6 26-Oct-2013 Peter Collingbourne <peter@pcc.me.uk> Overhaul the symbolizer interface.

This moves away from creating the symbolizer object and initializing the
external symbolizer as separate steps. Those steps now always take place
together.

Sanitizers with a legacy requirement to specify their own symbolizer path
should use InitSymbolizer to initialize the symbolizer with the desired
path, and GetSymbolizer to access the symbolizer. Sanitizers with no
such requirement (e.g. UBSan) can use GetOrInitSymbolizer with no need for
initialization.

The symbolizer interface has been made thread-safe (as far as I can
tell) by protecting its member functions with mutexes.

Finally, the symbolizer interface no longer relies on weak externals, the
introduction of which was probably a mistake on my part.

Differential Revision: http://llvm-reviews.chandlerc.com/D1985

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193448 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
4af0f21c0c98950df1136dbec8824a029ed5bb8e 03-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: ignore interceptors coming from specified libraries

LibIgnore allows to ignore all interceptors called from a particular set
of dynamic libraries. LibIgnore remembers all "called_from_lib" suppressions
from the provided SuppressionContext; finds code ranges for the libraries;
and checks whether the provided PC value belongs to the code ranges.

Also make malloc and friends interceptors use SCOPED_INTERCEPTOR_RAW instead of
SCOPED_TSAN_INTERCEPTOR, because if they are called from an ignored lib,
then must call our internal allocator instead of libc malloc.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191897 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
7bb2f9b27ee0210f25b009fb5597383b334dc01e 16-Sep-2013 Alexey Samsonov <samsonov@google.com> Minor enhancements for sanitizer_common build rules

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
7a3d5fe086a6458be7c4810397363b67b022a138 11-Sep-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] build sanitizer_common library with -Wglobal-constructors

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190504 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
7847d77b246635211c3bf465421d49d7af5226c1 10-Sep-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Refactor symbolization interface: use class instead of several functions. Move some code around to get rid of extra source files

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
639df402c4925acd3ea7bebff729a535e3f79964 06-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] A bunch of linux system call handlers.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190157 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
38a61aa7d3fc1deeb612e02863f0fbb417cda612 29-Aug-2013 Alexey Samsonov <samsonov@google.com> [sanitizer] Refine CMake rules for generating exported symbols and lint checking

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189577 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
1de40607ba0671e82e49be696dbd8a001b41f6f4 28-Aug-2013 Will Dietz <wdietz2@illinois.edu> sanitizer_common: Use PYTHON_EXECUTABLE to choose appropriate python.

Fixes build on systems where 'python' is not python2.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189486 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
81b8120b555eedd578e0737d081d1f6d76cfc3b9 28-Aug-2013 Alexey Samsonov <samsonov@google.com> Make lint checker script more robust

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189479 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
fafab2f5e27eecbfaaee727f66ecd068dafa41fe 28-Aug-2013 Alexey Samsonov <samsonov@google.com> Check code style in check-sanitizer command

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189475 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
c1f1af715b204a7be6e31754169c358edb392bb2 27-Aug-2013 Hans Wennborg <hans@hanshq.net> cmake: fix the compiler-rt build with MSVC

This sets flags and excludes things that aren't working with MSVC yet,
allowing us to build the ASan runtime as part of the cmake build.

Differential Revision: http://llvm-reviews.chandlerc.com/D1525

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189304 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
8766b8162c8e0e2f57baf7aa47736f89aaaac9dc 18-Aug-2013 Chandler Carruth <chandlerc@gmail.com> Revert r188369 (and r188455) which breaks the build on at least some
Linux systems. I've replied on the original commit thread with details
of the problem.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188628 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
e6e564d232f95719277476308937856328c63682 14-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Split platform_limits_posix into system- and kernel-dependent parts.

This change moves everything depending on kernel headers (mostly ioctl types
and ids) into a separate source file. This will reduce the possibility of
header conflict on various platforms (most importantly, older glibc versions).

This change also removes 2 deprecated ioctls, and symbolic ids for other bunch
of ambiguous ioctls (i.e. same id is shared by ioctls with different memory
behavior).


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188369 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
a52e5c6f371bcc66e89792db1219a557664aab8d 26-Jun-2013 Sergey Matveev <earthdok@google.com> [tsan] Move some suppressions-related code to common.

Factor out code to be reused in LSan. Also switch from linked list to vector.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184957 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
4612abac2e172e077246cec0fcbed291f55a1d02 20-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Handle EVIOxxxx ioctls.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184405 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
d64bcf43935c9ceeb7376ca4185662811ae907ea 11-Jun-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] support running external llvm-symbolizer on Mac

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
51c963a812ca2fd24a72e17d1b5c127f4f9290bd 29-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Unweak SymbolizerPrepareForSandboxing and move it to libc-independent part.

Fixes the Go build.

Differential Revision: http://llvm-reviews.chandlerc.com/D877

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182851 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
1f3c2fee395abc36230c445e9ebdba55c4729d35 29-May-2013 Alexey Samsonov <samsonov@google.com> Make InternalAlloc/InternalFree in sanitizer runtimes libc-free by switching to a custom allocator.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
8b3af3a0e9426e9e0b2986b97360bd820ef05c7f 21-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Move symbolizer to RTSanitizerCommonLibc, and make it optional using a weak symbol.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182372 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
705e310b98e85f893a69bccad1a9c066e2f4c277 21-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Move stoptheworld to RTSanitizerCommonLibc.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182369 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
04a2281586c2dafaa523d4e8dc5488b52e44194e 21-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Move libc-dependent sanitizer_posix.cc code to sanitizer_posix_libcdep.cc.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
088ea2b46f97172bd0b0663a629e11cf826b84f7 20-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Move libc-dependent sanitizer_linux.cc code to sanitizer_linux_libcdep.cc.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182292 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
b877cb56b8ae051cab995704e3eec48119cffc64 19-May-2013 Richard Smith <richard-llvm@metafoo.co.uk> Avoid rebuilding the RTSanitizerCommon objects when building clang_rt.san.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182218 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
8cb3f754f1ab33a03107147c0eb5bd5d91f9f39b 18-May-2013 David Blaikie <dblaikie@gmail.com> Fix the UBSan CMake build broken in r182118

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182177 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
0c547de62dc0852a03fae2d868fa571e7f5512b3 17-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Begin moving sanitizer_common's libc-dependent code to a separate library

Introduce a new object library, RTSanitizerCommonLibc, which will contain
the subset of sanitizer_common with libc dependencies. RTSanitizerCommon
contains the remainder of sanitizer_common, and is intended to have no
libc dependencies. Begin moving code to RTSanitizerCommonLibc, starting
with sanitizer_common.cc, whose libc-dependent portion is moved to
sanitizer_common_libcdep.cc, the first member of the new library.

This split affects the CMake build only. The makefile build continues
to produce the full sanitizer_common library.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182118 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
2887a64cb7b82fc2dcbe4b1fcc33562077ec371a 11-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Syscall hooks.

Pre- and post- hooks for linux syscalls. Not wired into anything, but exposed
through public interface.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179288 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
3e587a4f631c1b7338d4f2a29df74b704b8bb1ca 21-Mar-2013 Richard Smith <richard-llvm@metafoo.co.uk> Split ubsan runtime into three pieces (compiler-rt part):
* libclang_rt-san-* is sanitizer_common, and is linked in only if no other
sanitizer runtime is present.
* libclang_rt-ubsan-* is the piece of the runtime which doesn't depend on
a C++ ABI library, and is always linked in.
* libclang_rt-ubsan_cxx-* is the piece of the runtime which depends on a
C++ ABI library, and is only linked in when linking a C++ binary.

The Darwin ubsan runtime is unchanged.

For more details, see Clang change r177605.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
3614c16084e8a0dc8ae3418402a2d0c6f8107e39 15-Mar-2013 Alexander Potapenko <glider@google.com> [libsanitizer] StopTheWorld in sanitizer_common

StopTheWorld puts the process in a suspended state before running the
user-supplied callback. To be used in TSan and in leak checking code.

Linux implementation provided.

Patch by Sergey Matveev (earthdok@google.com)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177156 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
6d429cda69b7ccc007ee368a73a6040c6b125afb 14-Mar-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Add generic ThreadRegistry class for sanitizer runtimes. This class holds basic thread bookkeeping logic and allows specific sanitizer runtimes to create thread contexts and mark threads as created/running/joined etc. The class is based on the way we currently store thread contexts in TSan.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177074 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
2be1e7f88e3bf7c0e347a4fb25bcba8647e06ec1 14-Mar-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Build sanitizer_common with -fno-rtti

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
6fb47af2d2d305adbfc3d41bea589d1527a364a9 27-Feb-2013 Kostya Serebryany <kcc@google.com> add Linux syscall wrappers and ThreadLister to sanitizer_common

ThreadLister is a Linux-specific class for obtaining the thread IDs of a process from procfs (/proc/<pid>/task/). It will be used by leak checking code.
Also add several syscall wrappers which will be required by the same code that uses ThreadLister, but are not used in ThreadLister itself.
Patch by Sergey Matveev


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176179 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
9358c58d0aaf1b20f17362af354d4c3c1309276a 19-Feb-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Add interceptors for localtime and friends.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175499 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
5162314d9538766717b8b6cf3d4a32e88c34bb57 20-Jan-2013 Alexey Samsonov <samsonov@google.com> CMake: Add add_compiler_rt_osx_object_library to create universal libraries on Mac

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172979 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
43b4b9c18a7a588a60b9d976391ad8e2f5f9a309 18-Jan-2013 Alexey Samsonov <samsonov@google.com> CMake: Generalize build rules for different arches for sanitizer_common, asan, ubsan

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172829 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
392c50d4a56557a51a353509c665188aef115f74 18-Jan-2013 Alexey Samsonov <samsonov@google.com> CMake: create AddCompilerRT module and implement convenience add_compiler_rt_object_library function

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172826 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
4f32c0beaa83ffbb84db23d2e6205bee57c39ce1 18-Jan-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Rename 2 files *.h->*.inc as appropriate.

Also add a missing include.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172814 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
2f3aef010fdeadfe7ec995dc534544acb5f357fb 18-Jan-2013 Alexey Samsonov <samsonov@google.com> CMake variables renaming: X86_64->x86_64 I386->i386

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
996c4f2fa53cce8f9d7b517073f38569460de505 18-Jan-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Common *scanf interceptors.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
b48224c8d19cac76f2af1eba158b9ae26ed1608a 14-Jan-2013 Dmitry Vyukov <dvyukov@google.com> asan/tsan: faster memory allocator
1. Increase size classes from 32k to 128k
2. Use lock-free stack in central cache
3. Use blocking mutex when allocate new memory with mmap


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172388 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
9fc0df892cab8735e7de0e86e995a3202c42cf82 11-Jan-2013 Dmitry Vyukov <dvyukov@google.com> asan: Refactor asan memory quarantine.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172183 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
032e833059a673a21facc8e726b5c0c9d1a13d2e 21-Dec-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] CMake build rules for unittests: depend on headers when compiling a file with custom clang.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170897 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
0414b25ab6bd328b96bd48a70382954f30894edf 20-Dec-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Modify CMake build rules for sanitizer_common unit tests: build them with fresh Clang for both 32- and 64-bits (if possible)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170691 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
ab6374326389ff649ad857842b45488721c949db 20-Dec-2012 Richard Smith <richard-llvm@metafoo.co.uk> Move C++ name demangling support from ubsan into sanitizer_common.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170666 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
b43d6a8ca10b9af8a903e8726003ae7767f9e823 12-Sep-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] first effort to start building ASan runtime with -Werror in CMake build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
34fc56c43f60be0b85a0e3ce30658fd98951f0b8 11-Sep-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> CMake build rules for ASan Android runtime and tests.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163613 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
3f3ca96358ed02ef13c5cfd5d6bc4d33dd861c2a 11-Sep-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Add new lit testsuite: check-sanitizer that runs unit tests for sanitizer_common runtime (shared between ASan and TSan)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
0f7d4a4ad69ad20053d8b78c611853e778bd465a 05-Sep-2012 Alexey Samsonov <samsonov@google.com> [ASan] hoist more compile flags to SANITIZER_COMMON_CFLAGS var and add the rest of flags/defs from old Makefile to CMake

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163204 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
60ab090deed8213613643729a7921ef0915ac704 29-Aug-2012 Chandler Carruth <chandlerc@gmail.com> Some flag cleanup for the sanitizer runtimes.

This hoists most of the CFLAGS into a common variable. It also adds
detection for -Wno-c99-extensions and uses it to silence a pile of
warnings.

Finally, it switches to the proper flag -rdynamic.

With this, the cmake build is warning free on my bootstrap Linux build.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162809 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
1b5ea8fbbef73f5d9b41dbb26a21b9a0f4d1445e 28-Aug-2012 Kostya Serebryany <kcc@google.com> [asan] actually move StackTrace to sanitizer_common

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162757 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
b10027729a3b809469f6b6ad40407ca453d6f54a 27-Aug-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> CMake build rules for ASan/Android runtime.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162675 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
9c6e5303fa025a73a09cee0766ae403909b1bb8b 23-Aug-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Switch the symbolization strategy that would be used by sanitizer tools family: as compiling in-process symbolizer into runtime involves certain difficulties, we may instead launch an external symbolizer program (fork + execl) in a subprocess and communicate with it via pipe.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162437 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
6e893b61094a3bfb1a9f92fb019dd6fb153076b5 14-Aug-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move OS-dependent pieces of symbolizer to separate source files

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161862 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
0b56247d81a9b3accf118b1af2aaa7766451450f 13-Aug-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Return cmake support for setting compile definitions for sanitizer_common library

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
fe51abb4949ad9976168bf53edb52c20016b9a0d 10-Aug-2012 Alexey Samsonov <samsonov@google.com> [ASan] CMake support for building ASan runtime as a universal binary on Mac

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161665 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
8fc90f6fc29caf89dca63a756ea0ebbeb4f65df9 08-Aug-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] cleanup CMake files for interception and sanitizer_common helper libraries

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161485 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
41df5652a12b45998111ca2aca09fc0c63674684 31-Jul-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Wrapper around llvm::DIContext from LLVM DebugInfo library. If a macro SANITIZER_USES_LLVM_LIBS is defined (by default it is not), then sanitizer runtime includes llvm headers and tries to use LLVM libs for in-process symbolization. To make it functional, we have to link with these LLVM libs - either pass them to linker from Clang driver, or link them into static ASan runtime when we build it.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161045 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
9b1b10193420f5adc769eda0d5bd548e429e0ce2 10-Jul-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] fix CMake build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159988 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
821f21b7cdd0bcc91102f08c8ee0773fd9273046 25-Jun-2012 Chandler Carruth <chandlerc@gmail.com> Cleanup the handling of CFLAGS even more in the cmake build for ASan.
Add the initial support for building ASan tests.

The first change here is to try to get the CFLAGS to more closely match
those used by the old Makefile. There are probably still goofs here,
ASan folks, your review would be appreciated.

The second big change is to add support for building both
instrumentation based an non-instrumentation based unittests for ASan.
They are built a bit differently from how the old makefiles managed
things. Specifically, there are two binaries, one for the
non-instrumented case, and one for the instrumented case.

Also, the instrumented unit tests rely on the host compiler supporting
AddressSanitizer's intrumentation pass. This is kind-of gross, but
I don't know of a better way yet. I've mailed llvmdev to discuss this
issue.

One big caveat is that the detection logic currently doesn't work. I've
commented it out temporarily as I'd like to get feedback from the ASan
developers, etc.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159134 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
a765ffcef39dc37bd6d7e597286fd76fbeb1b9fa 25-Jun-2012 Chandler Carruth <chandlerc@gmail.com> Another big step toward a viable CMake build system for CompilerRT,
ASan, and friends.

This explicitly switches the CompilerRT CMake build to require CMake
version 2.8.8 or newer which provides first-class support for "object"
libraries which consist of a pile of '.o' files -- exactly what is
desired for composing runtime libraries. I've gone ahead and switched to
using this.

I've also added the interception library which I missed initially. And
I've added proper dependencies between the various libraries. With this,
I'm able to build archives for asan that appear to contain all of the
necessary .o files.

The final tweak here is to start setting up the compile flags and macro
defines expected by ASan and its helper libraries. These may not be
entirely correct currently, they're based loosely on my reading of the
old Makefiles. However, they can be tweaked more easily now that they're
wired up properly.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159129 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt
479d47f739a9f36cbb3cf2bfdbd01c62a7b3128f 20-Jun-2012 Chandler Carruth <chandlerc@gmail.com> Resuming work on the compiler-rt CMake build at long long last. In order
to get it working again, two changes were needed:

- I had to give up on glob-based file expansion. This just isn't well
supported by CMake, and until we convince upstream there of its value,
it's not worth dealing with the pain.
- Add the common library as otherwise even ASan won't build.

This now builds again, although the "correctness" of it is a touch
debatable. ;] Specifically, there is no merging of the common runtime
library with the asan runtime library into a single archive file. I'm
not really sure what the best technique is for that, and it may be
influenced by the ongoing discussion about how best to link runtime
libraries.

Note of course that this is still very much WIP. It doesn't entirely
work yet, and remains disabled by the LLVM projects/CMakeLists.txt until
it is in a working state.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158811 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/CMakeLists.txt