summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAge
* Add a CMake option COMPILER_RT_DEBUG for building runtimes with full debug info.Peter Collingbourne2013-10-25
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1984 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193449 91177308-0d34-0410-b5e6-96231b3b80d8
* Add top-level CMake 'compiler-rt' target to build all compiler-rt librariesAlexey Samsonov2013-10-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191747 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] Split ASan unit tests into two different binaries:Alexey Samsonov2013-09-16
| | | | | | | | (1) instrumented, i.e. compiled and linked with -fsanitize=address (2) not instrumented, compiled w/o -fsanitize=address and linked with ASan runtime statically. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190788 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Refine CMake rules for generating exported symbols and lint checkingAlexey Samsonov2013-08-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189577 91177308-0d34-0410-b5e6-96231b3b80d8
* sanitizer_common: Use PYTHON_EXECUTABLE to choose appropriate python.Will Dietz2013-08-28
| | | | | | 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
* Properly generate lists of exported symbols for sanitizer runtimesAlexey Samsonov2013-08-27
| | | | | | | | | | This change adds a Python script that is invoked for the just-built sanitizer runtime to generate the list of exported symbols passed to the linker. By default, it contains interceptors and sanitizer interface functions, but can be extended with tool-specific lists. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189356 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] create default (empty) ASan blacklist file in resource directoryAlexey Samsonov2013-05-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182380 91177308-0d34-0410-b5e6-96231b3b80d8
* Build and install .syms files alongside sanitizer runtimes. These are used toRichard Smith2013-03-23
| | | | | | | | specify which symbols are exported to DSOs when the sanitizer is statically linked into a binary. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177784 91177308-0d34-0410-b5e6-96231b3b80d8
* [CMake] set -mmacosx-version-min to 10.7 if compiler-rt is built with ↵Alexey Samsonov2013-02-08
| | | | | | -stdlib=libc++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174699 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: simplify build rules for compiler-rt unit tests. This fixes warnings ↵Alexey Samsonov2013-01-28
| | | | | | in Ninja build tree. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173677 91177308-0d34-0410-b5e6-96231b3b80d8
* [CMake] Fix compiler-rt tests after r173617Alexey Samsonov2013-01-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173668 91177308-0d34-0410-b5e6-96231b3b80d8
* AddCompilerRT.cmake: Try to unbreak since r173617.NAKAMURA Takumi2013-01-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173619 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: add functions creating universal runtime libraries for several ↵Alexey Samsonov2013-01-21
| | | | | | architectures on OS X and use them in ASan and UBSan build rules git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173011 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Add add_compiler_rt_osx_object_library to create universal libraries ↵Alexey Samsonov2013-01-20
| | | | | | on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172979 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Add add_compiler_rt_static_runtime function and use it to build ↵Alexey Samsonov2013-01-20
| | | | | | generic compiler-rt libraries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172977 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: create AddCompilerRT module and implement convenience ↵Alexey Samsonov2013-01-18
| | | | | | add_compiler_rt_object_library function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172826 91177308-0d34-0410-b5e6-96231b3b80d8
* MemorySanitizer unit tests.Evgeniy Stepanov2012-12-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171062 91177308-0d34-0410-b5e6-96231b3b80d8
* [Sanitizer] Don't implicitly add object files to the list of dependencies ↵Alexey Samsonov2012-12-21
| | | | | | when building compiler_rt unittests. Fix sanitizer_common and asan build rules accordingly. This also fixes check-sanitizer command on Ninja. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170870 91177308-0d34-0410-b5e6-96231b3b80d8
* [*san] Create unittests output directory, if it does not exist.Evgeniy Stepanov2012-12-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170696 91177308-0d34-0410-b5e6-96231b3b80d8
* Significantly change the way we build ASan unittests in CMakeAlexey Samsonov2012-12-19
| | | | | | | | | | | | | | | | build tree. Now just-built Clang is used to: 1) compile instrumented sources (as before); 2) compile non-instrumented sources; 3) compile our own instrumented version of googletest; 4) link it all together using -fsanitize=address flag (instead of trying to copy linker behavior in CMake build rules). This makes ASan unittests pretty much self-consistent and independent of other LLVM libraries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170541 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the old, and non-functional CMake build system from CompilerRT.Chandler Carruth2012-04-04
| | | | | | | | | I cannot build any part of this successfully on either Linux or Darwin, and the replacement is worlds simpler by requiring that this be built as a subproject of LLVM. If this breaks you for any reason, please let me know, and let me know what your use case is. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154059 91177308-0d34-0410-b5e6-96231b3b80d8
* Sink {config.h,ConfigureChecks}.cmake into cmake directory.Daniel Dunbar2010-01-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93318 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix cmake test suit for compiler-rt.Edward O'Callaghan2009-10-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85339 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake should only pass GCC options to GCC.Edward O'Callaghan2009-09-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82607 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor to remove un-named struct gnu extension usage. Now ISO C89 and C99 ↵Edward O'Callaghan2009-08-09
| | | | | | compliant. Comment trailing endifs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78537 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix signedness warning in mprotect call, Clean up and improve endianness.h ↵Edward O'Callaghan2009-08-08
| | | | | | header. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78451 91177308-0d34-0410-b5e6-96231b3b80d8
* Start porting compiler-rt testsuit to Solaris with new build system. Fix ↵Edward O'Callaghan2009-08-05
| | | | | | some C++ style comments which are not allowed in ISO C90. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78143 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix newlinew warning in floatundidf.c , Bulkout CMake system more, complete ↵Edward O'Callaghan2009-08-03
port to AuroraUX and Solaris. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@77958 91177308-0d34-0410-b5e6-96231b3b80d8