summaryrefslogtreecommitdiffstats
path: root/compiler-rt/cmake/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Append -D__func__=__FUNCTION__ to SANITIZER_COMMON_CFLAGSReid Kleckner2014-02-261-3/+0
| | | | | | | | | This way it gets picked up for all sanitizer libs, both sanitizer_common and asan. I believe those are the only libs that build with asan. There should be no need to set the __func__ definition inside clang_compile. llvm-svn: 202303
* Emulate C99/C++11 __func__ for Visual C++.Joerg Sonnenberger2014-02-261-0/+3
| | | | llvm-svn: 202296
* [CMake] Better support for COMPILER_RT_ENABLE_WERROR. Make sure compiler-rt ↵Alexey Samsonov2014-02-241-0/+6
| | | | | | libraries are build by 'make all' command llvm-svn: 202023
* [CMake] Use host compiler to build unittests in standalone modeAlexey Samsonov2014-02-193-10/+22
| | | | llvm-svn: 201672
* [CMake] Rudimentary support for standalone CompilerRT build system.Alexey Samsonov2014-02-191-1/+1
| | | | | | | | This change allows to build compiler-rt libraries separately from LLVM/Clang (path to LLVM build directory should be specified at configure time). Running tests is not yet supported. llvm-svn: 201647
* [CMake] Rename several variablesAlexey Samsonov2014-02-181-2/+2
| | | | llvm-svn: 201575
* [CMake] Add top-level target for each compiler-rt library, and add ↵Alexey Samsonov2014-02-182-4/+0
| | | | | | 'compiler-rt' target encompassing them all. llvm-svn: 201556
* [CMake] Simplify setting compile flag disabling RTTIAlexey Samsonov2014-02-181-0/+11
| | | | llvm-svn: 201547
* LLVM's GoogleTest copy has moved its source code back to the defaultChandler Carruth2013-11-151-1/+2
| | | | | | location, update this reference to reflect that. llvm-svn: 194802
* [ASan] Add CMake configs for libclang_rt.asan_iossim_dynamic.dylib Alexander Potapenko2013-11-071-18/+20
| | | | | | | | | | 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. llvm-svn: 194199
* Add a CMake option COMPILER_RT_DEBUG for building runtimes with full debug info.Peter Collingbourne2013-10-251-0/+10
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1984 llvm-svn: 193449
* Add top-level CMake 'compiler-rt' target to build all compiler-rt librariesAlexey Samsonov2013-10-012-0/+4
| | | | llvm-svn: 191747
* [ASan] Split ASan unit tests into two different binaries:Alexey Samsonov2013-09-161-3/+9
| | | | | | | (1) instrumented, i.e. compiled and linked with -fsanitize=address (2) not instrumented, compiled w/o -fsanitize=address and linked with ASan runtime statically. llvm-svn: 190788
* [sanitizer] Refine CMake rules for generating exported symbols and lint checkingAlexey Samsonov2013-08-291-2/+20
| | | | llvm-svn: 189577
* sanitizer_common: Use PYTHON_EXECUTABLE to choose appropriate python.Will Dietz2013-08-281-1/+2
| | | | | | Fixes build on systems where 'python' is not python2. llvm-svn: 189486
* Properly generate lists of exported symbols for sanitizer runtimesAlexey Samsonov2013-08-272-10/+24
| | | | | | | | | 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. llvm-svn: 189356
* [ASan] create default (empty) ASan blacklist file in resource directoryAlexey Samsonov2013-05-211-0/+10
| | | | llvm-svn: 182380
* Build and install .syms files alongside sanitizer runtimes. These are used toRichard Smith2013-03-231-2/+10
| | | | | | | specify which symbols are exported to DSOs when the sanitizer is statically linked into a binary. llvm-svn: 177784
* [CMake] set -mmacosx-version-min to 10.7 if compiler-rt is built with ↵Alexey Samsonov2013-02-081-0/+11
| | | | | | -stdlib=libc++ llvm-svn: 174699
* CMake: simplify build rules for compiler-rt unit tests. This fixes warnings ↵Alexey Samsonov2013-01-281-3/+1
| | | | | | in Ninja build tree. llvm-svn: 173677
* [CMake] Fix compiler-rt tests after r173617Alexey Samsonov2013-01-281-3/+1
| | | | llvm-svn: 173668
* AddCompilerRT.cmake: Try to unbreak since r173617.NAKAMURA Takumi2013-01-271-1/+1
| | | | llvm-svn: 173619
* CMake: add functions creating universal runtime libraries for several ↵Alexey Samsonov2013-01-211-3/+41
| | | | | | architectures on OS X and use them in ASan and UBSan build rules llvm-svn: 173011
* CMake: Add add_compiler_rt_osx_object_library to create universal libraries ↵Alexey Samsonov2013-01-201-0/+14
| | | | | | on Mac llvm-svn: 172979
* CMake: Add add_compiler_rt_static_runtime function and use it to build ↵Alexey Samsonov2013-01-201-0/+26
| | | | | | generic compiler-rt libraries llvm-svn: 172977
* CMake: create AddCompilerRT module and implement convenience ↵Alexey Samsonov2013-01-182-0/+35
| | | | | | add_compiler_rt_object_library function llvm-svn: 172826
* MemorySanitizer unit tests.Evgeniy Stepanov2012-12-251-0/+14
| | | | llvm-svn: 171062
* [Sanitizer] Don't implicitly add object files to the list of dependencies ↵Alexey Samsonov2012-12-211-1/+1
| | | | | | when building compiler_rt unittests. Fix sanitizer_common and asan build rules accordingly. This also fixes check-sanitizer command on Ninja. llvm-svn: 170870
* [*san] Create unittests output directory, if it does not exist.Evgeniy Stepanov2012-12-201-0/+1
| | | | llvm-svn: 170696
* Significantly change the way we build ASan unittests in CMakeAlexey Samsonov2012-12-192-0/+46
| | | | | | | | | | | | | | | 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. llvm-svn: 170541
* Remove the old, and non-functional CMake build system from CompilerRT.Chandler Carruth2012-04-043-36/+0
| | | | | | | | | 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. llvm-svn: 154059
* Fix cmake test suit for compiler-rt.Edward O'Callaghan2009-10-271-1/+2
| | | | llvm-svn: 85339
* CMake should only pass GCC options to GCC.Edward O'Callaghan2009-09-231-2/+4
| | | | llvm-svn: 82607
* Refactor to remove un-named struct gnu extension usage. Now ISO C89 and C99 ↵Edward O'Callaghan2009-08-091-1/+1
| | | | | | compliant. Comment trailing endifs llvm-svn: 78537
* Fix signedness warning in mprotect call, Clean up and improve endianness.h ↵Edward O'Callaghan2009-08-081-1/+1
| | | | | | header. llvm-svn: 78451
* Start porting compiler-rt testsuit to Solaris with new build system. Fix ↵Edward O'Callaghan2009-08-052-0/+15
| | | | | | some C++ style comments which are not allowed in ISO C90. llvm-svn: 78143
* Fix newlinew warning in floatundidf.c , Bulkout CMake system more, complete ↵Edward O'Callaghan2009-08-031-0/+18
port to AuroraUX and Solaris. llvm-svn: 77958
OpenPOWER on IntegriCloud