summaryrefslogtreecommitdiff
path: root/make
Commit message (Collapse)AuthorAge
* Push back various changes for building Apple's compiler-rt dylib.Bob Wilson2013-11-03
| | | | | | These changes had accumulated internally at Apple for no good reason. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193944 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] Don't require X86 to build Android runtime.Evgeniy Stepanov2013-10-03
| | | | | | | Patch by Greg Fitzgerald. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191883 91177308-0d34-0410-b5e6-96231b3b80d8
* [lsan] Follow-up to r189010 - do the same in Makefile build.Sergey Matveev2013-08-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189011 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing ']'.Bill Wendling2013-08-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188927 91177308-0d34-0410-b5e6-96231b3b80d8
* For Darwin builds, locate tools using xcrun when available.Bob Wilson2013-08-21
| | | | | | | The make/platform/darwin_bni.mk file already has similar code but we apparently neglected to add it to the clang_darwin.mk file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188864 91177308-0d34-0410-b5e6-96231b3b80d8
* [LSan] Add support for building standalone LSan runtime to Make build ↵Alexey Samsonov2013-08-20
| | | | | | (compiler-rt part) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188804 91177308-0d34-0410-b5e6-96231b3b80d8
* DataFlowSanitizer; compiler-rt changes.Peter Collingbourne2013-08-07
| | | | | | | | | | | | | 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/D967 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187924 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] Bump min supported Mac OS X version to 10.6 - makefile buildAlexey Samsonov2013-07-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186410 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert "Temporarily disable building the armv7 variants of profile_ios on"Bob Wilson2013-06-26
| | | | | | | This reverts commit r184816. With Chandler's change in r184929, this should no longer be necessary. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184961 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert the Darwin half of r184805: "Remove the sysroot (or isysroot)Chandler Carruth2013-06-26
| | | | | | | | | | | restriction from the GCDAProfile.c" Bill added a much more effective way of coping with the use of errno and other system interactions for Darwin for now by disabling it on that platform. Building against the SDK stuff is more fundamental to the darwin build process. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184929 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporarily disable building the armv7 variants of profile_ios onChandler Carruth2013-06-25
| | | | | | | | | | | | | | | | | | | darwin. After talking with Jim Grosbach pretty extensively, he was OK with me punting on this to the Apple folks. We agreed that the correct fix is either to extend the fake SDK headers in compiler-rt to support the rest of libc needed by GCDAProfiling.c or to teach the make build to test for the existence of a suitable SDK on the system prior to building it. Both of these require someone with access to the SDK which I don't have, and the latter (my preferred solution) requires understanding the strange compiler-rt make build system. Punting to Dan Dunbar or one of the others who support this stuff on ios to write the appropriate fix, and we can let the build bots proceed in the mean time. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184816 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the sysroot (or isysroot) restriction from the GCDAProfile.cChandler Carruth2013-06-25
| | | | | | | | | | | | | runtime in the Makefile build system as well. Sorry for the temporary fallout, it took me a while to find these bits. Bill, I'm not at all confident of the change for Darwin and iOS, but as discussed we're completely blocked on fixing this. Anyways, please review and let me know if this will work for you guys. If necessary, I can work with you to rig up an errno.h stub for Darwin, but I expect that to be... moderately challenging. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184805 91177308-0d34-0410-b5e6-96231b3b80d8
* When the compiler is not providing a clean triple, we should fail Sylvestre Ledru2013-06-19
| | | | | | | | | | | the build right from the start. For now, it is only done with DEBUGMAKE is provided. That makes things harder to debug during ports of compiler-rt on other systems. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184295 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r182465 and add lsan-common library to makefile-based buildAlexey Samsonov2013-05-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182470 91177308-0d34-0410-b5e6-96231b3b80d8
* <rdar://problem/13806954> enable __atomic_* functions for DarwinNick Kledzik2013-05-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182435 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] Nuke build of static ASan runtime on Mac OSAlexey Samsonov2013-05-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182261 91177308-0d34-0410-b5e6-96231b3b80d8
* [Sanitizer] Build sanitizer runtimes with debug info in Makefile buildAlexey Samsonov2013-05-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182260 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a typo in the commentSylvestre Ledru2013-05-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181708 91177308-0d34-0410-b5e6-96231b3b80d8
* Rewrite sw_vers makefile check to avoid error message on Linux.Bob Wilson2013-04-30
| | | | | | | | | | When building compiler-rt on Linux, the "which sw_vers" check fails and writes an error message into the build log. Apparently on Solaris "which" writes the error message to stdout, so that the current test won't even work properly. As far as I know sw_vers always lives in /usr/bin, so just check for it there instead of using "which". git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180792 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -fno-rtti to ASan runtime cflags on Android.Evgeniy Stepanov2013-04-25
| | | | | | | Otherwise we are picking up an extra libstdc++ dependency. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180265 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the new iOS deployment target command-line options.Bob Wilson2013-04-23
| | | | | | | | We now rely on the -mios-simulator-version-min option to identify the iOS simulator target. I'm not sure if there's anything in compiler-rt where that matters, but it's the right thing to do regardless. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180163 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't forget to link in the C++-specific parts of the ubsan runtime when ↵Richard Smith2013-03-22
| | | | | | using the Makefile build system on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177684 91177308-0d34-0410-b5e6-96231b3b80d8
* Split ubsan runtime into three pieces (compiler-rt part):Richard Smith2013-03-20
| | | | | | | | | | | | | | | | * 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. The Darwin ubsan runtime is unchanged. For more details, see Clang change r177605. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177606 91177308-0d34-0410-b5e6-96231b3b80d8
* [Sanitizer] Build ASan, TSan and MSan runtimes with -fno-rtti.Alexey Samsonov2013-03-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176940 91177308-0d34-0410-b5e6-96231b3b80d8
* update how libcompiler_rt.dylib links under libSystem.dylib on MacOSXNick Kledzik2013-03-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176466 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Add MSan to Makefile-based build rules.Evgeniy Stepanov2013-02-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175737 91177308-0d34-0410-b5e6-96231b3b80d8
* [build/clang_darwin] Fix the case reversal in r173465.Daniel Dunbar2013-01-30
| | | | | | | - I got confused by the double negative, the test succends on 10.6, in which case we *do* want to perform the filter-out. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173977 91177308-0d34-0410-b5e6-96231b3b80d8
* [build/clang_darwin] Don't try to run sw_vers if we don't have it.Daniel Dunbar2013-01-25
| | | | | | - Also, fix the test this is guarding, which was backwards. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173465 91177308-0d34-0410-b5e6-96231b3b80d8
* ASan: build runtime flexible mapping and offset in configure+make build as wellAlexey Samsonov2013-01-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173016 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] Add soname to the dynamic runtime.Evgeniy Stepanov2013-01-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172055 91177308-0d34-0410-b5e6-96231b3b80d8
* Automatically create .dSYM for libcompiler_rt.dylib when using Apple's ↵Nick Kledzik2012-11-26
| | | | | | internal build system git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168625 91177308-0d34-0410-b5e6-96231b3b80d8
* UBSan: fix support on Darwin in 'make' build system. Patch by Jean-Daniel Dupas.Alexey Samsonov2012-11-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168167 91177308-0d34-0410-b5e6-96231b3b80d8
* [UBSan] Add support for building ubsan runtime library on Linux with 'make'. ↵Alexey Samsonov2012-11-15
| | | | | | Compiler-rt part. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168038 91177308-0d34-0410-b5e6-96231b3b80d8
* Support for building the ubsan runtime when using the autoconf build system onRichard Smith2012-11-13
| | | | | | | | Darwin. Patch by Jean-Daniel Dupas, tweaked by Jonathan Sauer, simplified somewhat by me. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167889 91177308-0d34-0410-b5e6-96231b3b80d8
* Build ASan runtime for ARM/Android.Evgeniy Stepanov2012-10-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166559 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix comment typo.Bob Wilson2012-10-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166246 91177308-0d34-0410-b5e6-96231b3b80d8
* build/clang_darwin: Don't try to build ARM contents on 10.6.Daniel Dunbar2012-10-17
| | | | | | | - The cctools' ranlib on 10.6 has a bug and can't understand our ARM object files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166114 91177308-0d34-0410-b5e6-96231b3b80d8
* platform/clang_darwin: Drop an x86_64 slice into cc_kext_ios5.Daniel Dunbar2012-10-15
| | | | | | - This doesn't get used, but it is a simple workaround for PR14013. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165987 91177308-0d34-0410-b5e6-96231b3b80d8
* Un-revert r164907 and r164902 (+ follow-ups), 10.6 build fix to follow.Daniel Dunbar2012-10-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165986 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r164907 and r164902 (+ follow-ups). They broke building on 10.6.Nico Weber2012-10-15
| | | | | | | | See PR14013. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165963 91177308-0d34-0410-b5e6-96231b3b80d8
* Determine supported archs for compiler-rt libraries on Linux by trying to ↵Alexey Samsonov2012-10-09
| | | | | | compile a simple executable git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165504 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] don't build 64-bit runtime on 32-bit Linux platformsAlexey Samsonov2012-10-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165222 91177308-0d34-0410-b5e6-96231b3b80d8
* I'm getting these errors with r165159:Bill Wendling2012-10-04
| | | | | | | | | | | | | | | | | | | /Users/void/llvm/llvm-tot.src/projects/compiler-rt/lib/arm/eqdf2vfp.S:22:2: error: instruction requires: VFP2 vmov d6, r0, r1 ^ /Users/void/llvm/llvm-tot.src/projects/compiler-rt/lib/arm/eqdf2vfp.S:23:2: error: instruction requires: VFP2 vmov d7, r2, r3 ^ /Users/void/llvm/llvm-tot.src/projects/compiler-rt/lib/arm/eqdf2vfp.S:24:2: error: instruction requires: VFP2 vcmp.f64 d6, d7 ^ /Users/void/llvm/llvm-tot.src/projects/compiler-rt/lib/arm/eqdf2vfp.S:25:2: error: instruction requires: VFP2 vmrs apsr_nzcv, fpscr ^ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165191 91177308-0d34-0410-b5e6-96231b3b80d8
* Back out my temporary workaround for Apple buildbots.Bob Wilson2012-10-03
| | | | | | | | --- Reverse-merging r164909 into '.': U make/platform/clang_darwin.mk git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165159 91177308-0d34-0410-b5e6-96231b3b80d8
* Build ASan runtime on Linux for both x86_64 and i386, same as we do with ↵Alexey Samsonov2012-10-03
| | | | | | full compiler_rt and libprofile git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165096 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporarily comment out some new arm variants to try to fix buildbots.Bob Wilson2012-09-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164909 91177308-0d34-0410-b5e6-96231b3b80d8
* Add compiler-rt support for Swift.Bob Wilson2012-09-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164903 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for iOS6.Bob Wilson2012-09-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164902 91177308-0d34-0410-b5e6-96231b3b80d8
* build/clang_darwin: Add the ASAN dynamic library.Daniel Dunbar2012-09-10
| | | | | | - Now with spelling fix for -lstdc++. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163527 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r163415 in an attempt to bring back the buildbots.Chad Rosier2012-09-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163522 91177308-0d34-0410-b5e6-96231b3b80d8