4a78b1e4685f34aa8a53287c51e4215880e554e0 |
|
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Hack ASan lit config to allow running lit on tests manually git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163209 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/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/asan/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/asan/CMakeLists.txt
|
283c296b64bc55deec9698260b3427a9b050a925 |
|
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of AsanPrintf in favor of Printf from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/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/asan/CMakeLists.txt
|
1e2525d0ec9ac64e583b57316ea30cecce591fb1 |
|
24-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Add add_clang_runtime_shared_library() CMake function and use it to put the shared ASan runtime in the appropriate place. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162546 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/CMakeLists.txt
|
0ef531054fc25c11e372cbab1384f10954984219 |
|
17-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Commit the source and CMake changes that will allow to build ASan runtime as a shared library on Mac OS. This will provide an alternative to mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/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/asan/CMakeLists.txt
|
f7c1d18183d2dfbd02864cf47b3239d6a5d717c0 |
|
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move error reports away from ASan allocator. Add new source file to CMakeLists as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/CMakeLists.txt
|
7274ff82fab3b167514e2aba81aa775d9fd73ca8 |
|
31-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
First tiny move towards integrating AddressSanitizer regressions test into LLVM lit-based testing infrastructure. The goal is to be able to run ASan tests by simply running "make check-asan" command from CMake build tree: * tests should use fresh clang binary from current build tree. * tests should use the same RUN-lines syntax as llvm/clang reg tests. Next steps: - restricting tests to machines where target is equal to host, i.e. where we can produce working binaries. - moving AddressSanitizer unit tests to lit as well. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/CMakeLists.txt
|
4d57f44ae53d766d77fd21ceee5f0b7e56429b04 |
|
25-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
cmake for compiler-rt: add a function to set output dirs for compiler runtimes equal to directory used by Clang driver. Use it for ASan runtime. Also, make sure that ASan unit tests depend on the ASan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160721 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/CMakeLists.txt
|
b0af63965aeab26c463dd761f5b2b9cf8560065b |
|
24-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
Revert r160669 (except for compile flag updates) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160671 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/CMakeLists.txt
|
a43a62a25c55b811052249380cb6d2f7d020a8fc |
|
24-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] hacking cmake build: after generating asan runtime, copy it to the Clang lib directory where Clang driver expects to find it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160669 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/CMakeLists.txt
|
62f294020ce5d60dc51883e7708a56247c366d14 |
|
02-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cmake cleanup: make tab/space padding in CMakeLists consistent, silence/fix some pedantic warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159514 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/CMakeLists.txt
|
984f6cf119e26ec25463d58235d613bfea114127 |
|
27-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Add support for building the ASan instrumentation unit tests with the just-built Clang binary, and linking them against the just-built ASan runtime. This is *very* brittle. I expect it will require tweaking, and I've pro-actively disabled it on non-Unix builds and on cross-builds. It is also currently missing dependency edges on GoogleTest header files and a few other corner cases, but those can be fixed. This is the major milestone of a mini-bootstrap-like build of the unittest. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159255 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/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/asan/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/asan/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/asan/CMakeLists.txt
|
d51e0a05b4aefc85c356c9bddd8a24efc77721d9 |
|
05-Apr-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Initial, very rough cut at a new CMake build system for compiler-rt. Some high-level notes: 1) An explicit goal is to support building compiler-rt as a subproject build, checked out into the projects/compiler-rt directory. There are many other possible ways of building the code here, but this is optimized for development on LLVM/Clang/compiler-rt, and incremental trial and testing of the toolchain. 2) The current support is targeted at Linux. I would love to see this generalized to other platforms, but for the sake of simplicity in testing, I'm focusing here first. Much of this patch was paired with Manuel, and I credit him with the majority of the work here. Some important caveats that I'll be working on in subsequent patches: 1) This uses the host compiler rather than using the just-built-clang. 2) Currently only x86 is supported. 3) Currently, none of the tests are built or run. 4) Uses CMake's builtin globbing which doesn't update correctly. 5) This is still turned off from LLVM's CMake build until these issues are addressed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/CMakeLists.txt
|