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/interception/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/interception/CMakeLists.txt
|
65e5090c3ca13ebf1061a7043449d1b3561daa6a |
|
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix wrong size of OFF_T on 32-bit platforms. This broke pread/pwrite interceptors when building without -D_FILE_OFFSET_BITS=64, and always on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174593 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/CMakeLists.txt
|
69563986ca570ce750111a82264d51ddbf4107ba |
|
05-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Delete the code related to static runtime on OS X. Nuke lib/interception/mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174383 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/CMakeLists.txt
|
216719b23134b9719bbf3e1de4a7d5d351c21fa8 |
|
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] include sanitizer_common headers when building interception library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/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/interception/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/interception/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/interception/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/interception/CMakeLists.txt
|
8019524fdba2eb50ea6fac5f07d938165ad1e065 |
|
12-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Pass -std=c99 when compiling mach_override.c git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/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/interception/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/interception/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/interception/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/interception/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/interception/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/interception/CMakeLists.txt
|
d00ecb64892dcb03c5ae93a654da669b96753b01 |
|
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] silence various warnings in cmake build of asan unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159347 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/interception/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/interception/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/interception/CMakeLists.txt
|