summaryrefslogtreecommitdiffstats
path: root/clang/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Use the new installheaders makefile target in libcxx.Bob Wilson2012-01-211-1/+1
| | | | llvm-svn: 148630
* 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
* Use libcxx makefile's do-installhdrs target. <rdar://problem/10397739>Bob Wilson2011-11-271-7/+3
| | | | llvm-svn: 145168
* 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-304-2/+38
| | | | 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
* Restore accidentally deleted file (I blame svn).Nick Lewycky2011-04-151-0/+22
| | | | llvm-svn: 129588
* Reapply r129561, moving the runtime/Makefile that builds compiler-rt intoNick Lewycky2011-04-151-1/+1
| | | | | | | runtime/compiler-rt/Makefile paving the way to put multiple different libraries into runtime/ and build all of them. llvm-svn: 129585
* Doug Gregor tells me that runtime/libcxx/ is a placeholder for stuff we neverNick Lewycky2011-04-152-64/+0
| | | | | | did. Delete it. llvm-svn: 129584
* Revert r129561, which broke one of the clang buildbots.Owen Anderson2011-04-152-122/+101
| | | | llvm-svn: 129581
* Create a compiler-rt directory and move the Makefile to it. Add a makefile thatNick Lewycky2011-04-152-101/+122
| | | | | | | builds the subdirs from this directory. This makes the behaviour with make match what already happens with cmake. llvm-svn: 129561
* build/compiler-rt: Fake Clang into using the right assembler to build the ARMDaniel Dunbar2011-02-111-1/+11
| | | | | | bits for the runtime libraries. llvm-svn: 125328
* build: Use CLANG_NO_RUNTIME=1 specifically, not just any definition.Daniel Dunbar2010-12-221-1/+1
| | | | llvm-svn: 122449
* CMake: Add runtime dir.Michael J. Spencer2010-12-161-0/+12
| | | | llvm-svn: 121957
* Fix build of in-tree libcxx. libcxx doesn't actuallyShantonu Sen2010-12-011-1/+1
| | | | | | | need any of the LLVM support libraries. Reviewed by Daniel Dunbar. llvm-svn: 120602
* Merge System into Support.Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120297
* Driver/Darwin: Add a runtime library just for ___eprintf -- when targeting i386Daniel Dunbar2010-09-221-1/+1
| | | | | | some projects still depend on ___eprintf being available. llvm-svn: 114509
* build: Start sketching code to allow grafting libc++ build into LLVM/Clang ↵Daniel Dunbar2010-09-151-0/+63
| | | | | | | | | build if libc++ is checked out into llvm/projects. - WIP, not on by default yet. llvm-svn: 113924
* Runtime: Always build compiler-rt using the Clang we just built, instead of theDaniel Dunbar2010-06-301-0/+1
| | | | | | system CC. llvm-svn: 107328
* Move lib/Runtime to runtime/, and build after everything else.Daniel Dunbar2010-06-301-0/+103
llvm-svn: 107327
OpenPOWER on IntegriCloud