summaryrefslogtreecommitdiffstats
path: root/clang/runtime/compiler-rt
Commit message (Collapse)AuthorAgeFilesLines
* Remove autoconf supportChris Bieneman2016-01-261-259/+0
| | | | | | | | | | | | | | | | | Summary: This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html "This is the way [autoconf] ends Not with a bang but a whimper." -T.S. Eliot Reviewers: chandlerc, grosbach, bob.wilson, echristo Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D16472 llvm-svn: 258862
* Revert "Support watchOS and tvOS in compiler-rt builds"Tim Northover2015-11-031-36/+3
| | | | | | | | | | The required compiler-rt changes aren't present yet so attempting to build with compiler-rt breaks. And since we're trying to deprecate autotools we actually want to fix this in CMake primarily anyway. This reverts r251712. llvm-svn: 251953
* Support watchOS and tvOS in compiler-rt buildsTim Northover2015-10-301-3/+36
| | | | | | | Hopefully autotools will be deprecated soon and this entire file can go away, but until then... llvm-svn: 251712
* Fix makefile build on OSX when ARM targets are not enabledKeno Fischer2015-10-041-0/+2
| | | | | | | | | | | | | | | Summary: When LLVM/Clang is built without ARM support, the ios_kext runtime library is not built, but without this patch, the Makefile still tries to copy it. This is a recent regression, because the ios_kext library used to also be built on x86_64. Reviewers: beanz Subscribers: aemerson, cfe-commits, rengolin Differential Revision: http://reviews.llvm.org/D13421 llvm-svn: 249281
* [darwin] [builtins] Stop generating cc_kext_ios5 and move iOS architectures ↵Chris Bieneman2015-09-231-1/+1
| | | | | | | | | | | | | | | | | out of cc_kext into cc_kext_ios Summary: This corresponds to a patch to compiler-rt (D13112). Xcode 7 doesn't support targeting iOS5 and earlier. Instead of just dropping cc_kext_ios5, I've repurposed it to cc_kext_ios, and I'm pulling the iOS architectures out of cc_kext. Putting OS X and iOS slices inside the same archive was just odd. Reviewers: bogner, bob.wilson Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D13113 llvm-svn: 248442
* [UBSan] Use shared library for UBSan on OS X (Clang part).Alexey Samsonov2015-03-231-2/+3
| | | | | | | | | | | | | | | | | | Summary: UBSan is now used in the same way as ASan, and is supported on OSX and on iOS simulator. At the moment ASan and UBSan can't be used together due to PR21112, but I hope to resolve it soon by embedding UBSan into ASan. Test Plan: regression test suite. Reviewers: zaks.anna, kubabrecka Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D8471 llvm-svn: 233035
* Remove support for building sanitizers from Makefile/autoconf build on Linux.Alexey Samsonov2015-02-181-12/+4
| | | | | | | This is a re-application of r229554 restricted to Linux build only. Apple still uses Makefile/autoconf to build Clang and sanitizers. llvm-svn: 229755
* Revert "Remove support for building sanitizers from Makefile/autoconf build."Matthias Braun2015-02-171-7/+43
| | | | | | | | | This reverts commit r229554. Reverting this commit for now as several apple internal builds still rely on this functionality. llvm-svn: 229582
* Remove support for building sanitizers from Makefile/autoconf build.Alexey Samsonov2015-02-171-43/+7
| | | | | | | | They autotools build has a number of missing features, supports less OS, architectures, build configurations, doesn't have any tests and is hard to support in sync with CMake build. llvm-svn: 229554
* Remove change to set SDKROOT when building compiler-rt on Darwin.Bob Wilson2014-11-101-17/+0
| | | | | | | | This reverts the runtime library portion of r194168. As of r221621, the libclang_rt libraries for Darwin build with explicit SDK options so there is no need to set SDKROOT here. llvm-svn: 221625
* Only build iOS runtime libraries when the iOS SDKs are available.Bob Wilson2014-11-101-6/+17
| | | | | | | | | This was already set up for the iOS simulator ASan dylib simulator, and this change extends that to the other iOS runtime libraries. This is in preparation for building all those iOS libraries against the real SDKs instead of the fake SDKs in compiler-rt. llvm-svn: 221614
* Use @rpath for ASan dylib in MakefilesKuba Brecka2014-11-071-2/+0
| | | | | | Reviewed at http://reviews.llvm.org/D6176 llvm-svn: 221557
* Unify the name of compiler-rt builtins library on Linux.Alexey Samsonov2014-05-221-2/+2
| | | | | | | | | | Call it "libclang_rt.builtins-<arch>.a" to be consistent with sanitizers/profile libraries naming. Modify Makefile and CMake build systems and Clang driver accordingly. Fixes PR19822. llvm-svn: 209474
* Make verbose clang builds also build compiler_rt verboselyJonathan Roelofs2014-05-141-0/+2
| | | | llvm-svn: 208821
* [ASan] Split static ASan runtime in two parts: asan and asan_cxx.Alexey Samsonov2014-05-121-4/+4
| | | | | | | | | | | asan_cxx containts replacements for new/delete operators, and should only be linked in C++ mode. We plan to start building this part with exception support to make new more standard-compliant. See https://code.google.com/p/address-sanitizer/issues/detail?id=295 for more details. llvm-svn: 208610
* Macho-embedded: rename compiler-rt support from Darwin-embeddedTim Northover2014-01-211-3/+3
| | | | | | | There's nothing Darwin-based in the files or target now, so the previous name is now misleading. llvm-svn: 199733
* Only build ARM-specific runtimes if ARM is enabledTim Northover2013-12-111-1/+6
| | | | | | | | The soft-float variants of (embedded) libclang_rt only make sense for ARM, so there's no point in trying to build them if the compiler is only capable of targeting x86. llvm-svn: 197033
* Fix a tranche of comment, test and doc typosAlp Toker2013-12-051-1/+1
| | | | llvm-svn: 196510
* Darwin(ish): enable embedded compiler-rt builds on Darwin.Tim Northover2013-11-151-1/+3
| | | | | | | | This builds extra versions of compiler-rt targeting various unhosted targets. Only built on Darwin since even though they're not iOS or OSX, they share some quirks. llvm-svn: 194878
* [ASan] If the iOS Simulator SDK is available, build the ASan iossim runtime ↵Alexander Potapenko2013-11-151-0/+4
| | | | | | using configure+make. llvm-svn: 194816
* [build] Update runtime library and tests to work with relocatable SDKs on OS ↵Daniel Dunbar2013-11-061-0/+17
| | | | | | X 10.9. llvm-svn: 194168
* [libsanitizer] configure+make: install include/sanitizer into ClangAlexander Potapenko2013-10-281-2/+24
| | | | | | When building Clang with compiler-rt, copy the contents of compiler-rt/include/sanitizer into lib/clang/3.4/include/sanitizer llvm-svn: 193515
* [LSan] Add support for building standalone LSan runtime to Make build (clang ↵Alexey Samsonov2013-08-201-1/+1
| | | | | | part) llvm-svn: 188805
* DataFlowSanitizer; Clang changes.Peter Collingbourne2013-08-071-1/+2
| | | | | | | | | | | | | DataFlowSanitizer is a generalised dynamic data flow analysis. Unlike other Sanitizer tools, this tool is not designed to detect a specific class of bugs on its own. Instead, it provides a generic dynamic data flow analysis framework to be used by clients to help detect application-specific issues within their own code. Differential Revision: http://llvm-reviews.chandlerc.com/D966 llvm-svn: 187925
* The makefile build system had two lists of the 32-bit runtime librariesChandler Carruth2013-06-231-5/+7
| | | | | | | | | | | to build and one had grown out of sync. Put this list in a variable so this doesn't happen again. The whole thing here is somewhat suspicious as we don't support 32-bit environments with a 64-bit bi-arch capable compiler, but none have complained yet about this so I'm just leaving it alone. llvm-svn: 184665
* Nuke build of static ASan runtime on Mac OS - clang partAlexey Samsonov2013-05-201-1/+1
| | | | llvm-svn: 182278
* Split ubsan runtime into three pieces (clang part):Richard Smith2013-03-201-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | * 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. This change also switches us to using -whole-archive for the ubsan runtime (which is made possible by the above split), and switches us to only linking the sanitizer runtime into the main binary and not into DSOs (which is made possible by using -whole-archive). The motivation for this is to only link a single copy of sanitizer_common into any binary. This is becoming important now because we want to share more state between multiple sanitizers in the same process (for instance, we want a single shared output mutex). The Darwin ubsan runtime is unchanged; because we use a DSO there, we don't need this complexity. llvm-svn: 177605
* Add MSan to the list of targets in Makefile-based builds.Evgeniy Stepanov2013-02-211-1/+2
| | | | llvm-svn: 175738
* UBSan: enable proper linking with UBsan runtime on Darwin. Turn on building ↵Alexey Samsonov2012-11-161-1/+2
| | | | | | ubsan on OS X in 'make' build system. Patch by Jean-Daniel Dupas. llvm-svn: 168168
* [UBSan] Add support for building ubsan runtime library on Linux with 'make'. ↵Alexey Samsonov2012-11-151-5/+6
| | | | | | Clang part. llvm-svn: 168039
* Pass LLVM_ANDROID_TOOLCHAIN_DIR if set.Evgeniy Stepanov2012-10-241-0/+4
| | | | | | | | | This lets one build ASan runtime for ARM/Android by running make -C tools/clang/runtime/ \ LLVM_ANDROID_TOOLCHAIN_DIR=/path/to/ndk/toolchain in an existing build tree. llvm-svn: 166560
* Un-revert r164907 and r164902 (+ follow-ups), 10.6 build fix to follow.Daniel Dunbar2012-10-151-2/+2
| | | | llvm-svn: 165988
* Revert r164907 and r164902 (+ follow-ups). They broke building on 10.6.Nico Weber2012-10-151-2/+2
| | | | | | See PR14013. llvm-svn: 165962
* Fixup for r165097: build 32-bit ASan compiler-rt library on 64-bit Linux ↵Alexey Samsonov2012-10-092-3/+23
| | | | | | only if just-built clang can build simple 32-bit executables llvm-svn: 165503
* Make sure 32-bit ASan runtime is available on 64-bit Linux platformsAlexey Samsonov2012-10-031-0/+4
| | | | llvm-svn: 165097
* Add Clang support for iOS6.Bob Wilson2012-09-291-2/+2
| | | | llvm-svn: 164907
* Run install_name_tool to fix the dynamic library ID after it has been copied.Alexander Potapenko2012-09-171-0/+2
| | | | | | Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=113 llvm-svn: 164031
* compiler-rt/darwin: Install asan_osx_dynamic with the other runtime libraries.Daniel Dunbar2012-09-141-6/+29
| | | | llvm-svn: 163941
* build/compiler-rt: Companion commit to r159172.Daniel Dunbar2012-06-251-2/+2
| | | | llvm-svn: 159174
* [tsan] add ThreadSanitizer linker flags on Linux and also copy the tsan-rt ↵Kostya Serebryany2012-05-161-1/+1
| | | | | | into the appropriate place at build time llvm-svn: 156906
* build/compiler-rt: Stop forcing off -integrated-as for compiler-rt builds.Daniel Dunbar2012-03-051-12/+1
| | | | llvm-svn: 152054
* Use -no-integrated-as only on ARM. The X86 and X86-64 integrated as have beenRafael Espindola2012-02-241-1/+4
| | | | | | the default for clang for some time now and can handle compiler-rt. llvm-svn: 151367
* runtime/Linux: Include the profile and ASAN libs on x86.Daniel Dunbar2011-12-071-2/+4
| | | | llvm-svn: 146051
* runtime/Linux: Initial support for tying compiler-rt build into Clang build onDaniel Dunbar2011-12-021-1/+14
| | | | | | | | Linux. - Currently just builds a full library, and only on x86, and only for the target arch. llvm-svn: 145672
* Driver/Darwin: Add ASAN runtime library link support.Daniel Dunbar2011-12-011-1/+1
| | | | llvm-svn: 145651
* clang/Darwin: Use the compiler-rt provided profile library.Daniel Dunbar2011-11-171-1/+3
| | | | llvm-svn: 144869
* build/make/compiler-rt: Don't attempt to build compiler-rt runtime librariesDaniel Dunbar2011-11-161-1/+41
| | | | | | | when cross compiling under the current organization. - See verbose comment for explanation, justification, and how to fix. llvm-svn: 144860
* Install a copy of the libc++ headers with clang. <rdar://problem/10096516>Bob Wilson2011-09-301-1/+1
| | | | llvm-svn: 140876
* Build and use libcompiler_rt whenever possible.Eric Christopher2011-06-221-1/+1
| | | | | | Patch by Jean-Daniel Dupas! llvm-svn: 133624
* Driver/Darwin: Change to use generic iOS runtime library, which we now ↵Daniel Dunbar2011-04-181-1/+1
| | | | | | always need. llvm-svn: 129734
OpenPOWER on IntegriCloud