5d71de26cedae3dafc17449fe0182045c0bd20e8 |
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for rebase to r212749. Includes a cherry-pick of: r213309 - fixes umodsi3 Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
nterception.h
nterception_win.cc
|
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 |
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update compiler-rt aosp/master for 3.5 (r209699) rebase. Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
MakeLists.txt
nterception.h
nterception_linux.cc
nterception_linux.h
nterception_type_test.cc
nterception_win.cc
|
0797ff48ae6a585382b6ff8bda98dfa72874e4d0 |
12-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Avoid needless use of stringification (#symver) in INTERCEPT_FUNCTION_VER. This is a workaround for clang-format bug (PR17874). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194468 91177308-0d34-0410-b5e6-96231b3b80d8
nterception_linux.h
|
49496747758bf44163768ce3e07e40c8f95ccba9 |
07-Nov-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Add CMake configs for libclang_rt.asan_iossim_dynamic.dylib 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194199 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
5e2d3776a314629680921abd1d55d89d95a2da90 |
16-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
Make some pthread_mutex_* and pthread_cond_* interceptors common. Reviewers: eugenis, dvyukov Reviewed By: dvyukov CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1937 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192774 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
nterception_linux.h
nterception_mac.h
nterception_win.h
|
fae2bff6de8be5a319ca17fd713731ce8a887476 |
20-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix linking of tsan runtime into dynamic libraries versioned symbols can not be linked into dynamic library w/o linker script also simplifies code as side effect git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191056 91177308-0d34-0410-b5e6-96231b3b80d8
nterception_linux.h
|
9213e07a7f95b3e634b97a7bba70849badcf2c8a |
10-Sep-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Remove the explicit function prototypes for intercepted functions on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190411 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
ab0ddd48647cc7081786567d328d23268cc41359 |
03-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix linking when -ltsan is passed before -lpthread libpthread is weird: /lib/x86_64-linux-gnu/libpthread.so.0:000000000000b9b0 T pthread_cond_init@@GLIBC_2.3.2 /lib/x86_64-linux-gnu/libpthread.so.0:000000000000c720 T pthread_cond_init@GLIBC_2.2.5 let's do it with @@ for now we can always introduce more macros parameters later git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189788 91177308-0d34-0410-b5e6-96231b3b80d8
nterception_linux.h
|
2f913eef5770968386515855529e9b6244df1247 |
03-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix android build android does not have dlvsym git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189781 91177308-0d34-0410-b5e6-96231b3b80d8
nterception_linux.cc
nterception_linux.h
|
f061554e8bbfad5e29dcd9e81feb725b75869fa0 |
02-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: properly intercept pthread_cond functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189767 91177308-0d34-0410-b5e6-96231b3b80d8
nterception_linux.cc
nterception_linux.h
|
6a659dfd8e717a598f54867aa36c2e4af09d031b |
20-May-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Introduce INTERCEPTOR_WITH_SUFFIX which is to be used for appending the __DARWIN_ALIAS() version suffixes to function names on Darwin. This should fix asan/lit_tests/wait.cc under ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182259 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
6fb47af2d2d305adbfc3d41bea589d1527a364a9 |
27-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
add Linux syscall wrappers and ThreadLister to sanitizer_common ThreadLister is a Linux-specific class for obtaining the thread IDs of a process from procfs (/proc/<pid>/task/). It will be used by leak checking code. Also add several syscall wrappers which will be required by the same code that uses ThreadLister, but are not used in ThreadLister itself. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176179 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
50a002ecad3f0a10c136496e5b6289bd3c71590e |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Refactoring: nuke the redundant function declarations in asan_intercepted_functions.h that had been used on OS X only. The INTERCEPTOR() macro on OS X is now responsible for declaring the wrapped function, the wrapper and the pair of pointers to them in __DATA,__interposition section. Thus adding an interceptor requires editing a single file now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175740 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
fbeb826198c3c3797dcb56785db2e0a0a5c7a9af |
14-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix x32 build (H.J. Lu) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175140 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
74d0540ceae99c550b00f75883a737f4a1de6351 |
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] OFF_T on Mac is u64. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174600 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
eff744ddc87601937d03edf33c27edea0be0f3cc |
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Exclude off64_t test on mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174598 91177308-0d34-0410-b5e6-96231b3b80d8
nterception_type_test.cc
|
92ce51e144b35970b6468f002f035562cb33b4bd |
07-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] include stddef.h for ptrdiff_t in interception type test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174597 91177308-0d34-0410-b5e6-96231b3b80d8
nterception_type_test.cc
|
cb8b91d6040f07bb42d3053bc4a44ff8e3e7f05f |
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Add a missing header. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174594 91177308-0d34-0410-b5e6-96231b3b80d8
nterception_type_test.cc
|
65e5090c3ca13ebf1061a7043449d1b3561daa6a |
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix wrong size of OFF_T on 32-bit platforms. This broke pread/pwrite interceptors when building without -D_FILE_OFFSET_BITS=64, and always on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174593 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
nterception.h
nterception_type_test.cc
|
69563986ca570ce750111a82264d51ddbf4107ba |
05-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Delete the code related to static runtime on OS X. Nuke lib/interception/mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174383 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
akefile.mk
nterception.h
nterception_mac.cc
nterception_mac.h
ach_override/LICENSE.TXT
ach_override/Makefile.mk
ach_override/README.txt
ach_override/mach_override.c
ach_override/mach_override.h
|
216719b23134b9719bbf3e1de4a7d5d351c21fa8 |
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] include sanitizer_common headers when building interception library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173930 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
akefile.mk
nterception.h
|
250f221ae0dee295098da8aa631977b6c2ebc99b |
30-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Further split private and public sanitizer headers. And make msan_interface.h C-compatible. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173928 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
5162314d9538766717b8b6cf3d4a32e88c34bb57 |
20-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: Add add_compiler_rt_osx_object_library to create universal libraries on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172979 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
43b4b9c18a7a588a60b9d976391ad8e2f5f9a309 |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: Generalize build rules for different arches for sanitizer_common, asan, ubsan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172829 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
392c50d4a56557a51a353509c665188aef115f74 |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: create AddCompilerRT module and implement convenience add_compiler_rt_object_library function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172826 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
2f3aef010fdeadfe7ec995dc534544acb5f357fb |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake variables renaming: X86_64->x86_64 I386->i386 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172812 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
996c4f2fa53cce8f9d7b517073f38569460de505 |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Common *scanf interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172805 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
6afa1b0406f5cce7256d4f8717bfe394a16999b5 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] replace size_t with SIZE_T in interceptors (same for ssize_t, off_t and off64_t). This is done to avoid confusion and to make the code work with compilers that define size_t w/o any includes (MSVC) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170103 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
539dd2b3e0e3978cf00e630686a853f8cc6350ef |
15-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Add the "lea $imm(%rip),%rax" instruction to mach_override.c The need for this has been reported by Jack Howarth (howarth@bromo.med.uc.edu) who's porting ASan-Darwin to GCC git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168032 91177308-0d34-0410-b5e6-96231b3b80d8
ach_override/mach_override.c
|
b46941a1d23012491a7a8a52718cacbde3c19ba1 |
24-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Apply some ASan-relevant pieces of patch by Ruben Van Boxem. In the same time, remove ASan from CMake build on Windows after conversation with Timur. We don't want to support building ASan on Windows until it is in a working state. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164486 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
8019524fdba2eb50ea6fac5f07d938165ad1e065 |
12-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Pass -std=c99 when compiling mach_override.c git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163717 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
0fb4069dd0d0ef4c105105affea821f516a353a5 |
12-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Fix compiler warnings: remove __attribute__((visibility)) for static functions, use unsigned char instead of char. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163707 91177308-0d34-0410-b5e6-96231b3b80d8
ach_override/mach_override.c
|
4ea14c2fa243684e1d7a017bd4f0d1e38801de0a |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] more macro/casting magic to suppress warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163706 91177308-0d34-0410-b5e6-96231b3b80d8
nterception_mac.h
|
246ef3b045ba183ede4eb4635e31cd477aa91cf5 |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix compiler warnings (including void* arithmetic) in mach_override git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163698 91177308-0d34-0410-b5e6-96231b3b80d8
ach_override/mach_override.c
|
c27279a4a08e0661f204c3e5dc65aafce79dec8a |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix interception macro for Android build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163692 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
b66bfd1e28776f0a350b9c197926c2c172678603 |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] get rid of empty DEFAULT_CONVENTION in interception lib to remove empty macro arguments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163622 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
34fc56c43f60be0b85a0e3ce30658fd98951f0b8 |
11-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
CMake build rules for ASan Android runtime and tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163613 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
6d8091d8f0a5f5edcd40f97022032257e2924c26 |
06-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Add "movsbl %dh, %ecx" and "testb %r8, %r8" to mach_override. This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=105 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163301 91177308-0d34-0410-b5e6-96231b3b80d8
ach_override/mach_override.c
|
0f7d4a4ad69ad20053d8b78c611853e778bd465a |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] hoist more compile flags to SANITIZER_COMMON_CFLAGS var and add the rest of flags/defs from old Makefile to CMake git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163204 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
60ab090deed8213613643729a7921ef0915ac704 |
29-Aug-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Some flag cleanup for the sanitizer runtimes. This hoists most of the CFLAGS into a common variable. It also adds detection for -Wno-c99-extensions and uses it to silence a pile of warnings. Finally, it switches to the proper flag -rdynamic. With this, the cmake build is warning free on my bootstrap Linux build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162809 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
b10027729a3b809469f6b6ad40407ca453d6f54a |
27-Aug-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
CMake build rules for ASan/Android runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162675 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
0ef531054fc25c11e372cbab1384f10954984219 |
17-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Commit the source and CMake changes that will allow to build ASan runtime as a shared library on Mac OS. This will provide an alternative to mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162091 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
fe51abb4949ad9976168bf53edb52c20016b9a0d |
10-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] CMake support for building ASan runtime as a universal binary on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161665 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
0b7981a619a3e9205084e6c27c8001d76056f199 |
09-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Make the non-interface mach_override functions static to avoid name clashes with user code that may contain its own mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161577 91177308-0d34-0410-b5e6-96231b3b80d8
ach_override/mach_override.c
|
8fc90f6fc29caf89dca63a756ea0ebbeb4f65df9 |
08-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] cleanup CMake files for interception and sanitizer_common helper libraries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161485 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
a8fbcd7163d199edaf4f3f71a05403b79207fc2f |
02-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161170 91177308-0d34-0410-b5e6-96231b3b80d8
nterception_win.cc
|
bfa11b66d2d9e677be00164d44bcc0c9c6bc8f82 |
02-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
Follow-up for r161168 for Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161169 91177308-0d34-0410-b5e6-96231b3b80d8
nterception_win.cc
nterception_win.h
|
592d3f707e02968c75fd6e90d06d24f5df99c8b9 |
02-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Workaround for a compiler warning - ISO C++ forbids casting pointer-to-function to pointer-to-object, so we use cast via integral type git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161168 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
nterception_linux.cc
nterception_linux.h
nterception_mac.cc
nterception_mac.h
|
90b60b1a9a097a4109405b8ab0a13581726f94cb |
01-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Add support for "movsbl %sil,%ecx" (x86_64) and "movsbl $imm(%ebp), %edx" (i386) to our fork of mach_override. This is an extended version of a patch by Rafael Avila de Espindola (rafael.espindola@gmail.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161116 91177308-0d34-0410-b5e6-96231b3b80d8
ach_override/mach_override.c
|
d00ecb64892dcb03c5ae93a654da669b96753b01 |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] silence various warnings in cmake build of asan unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159347 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
b4fefa713da3dabda1cd83ae4182c71f1683f02c |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cleanup: trailing semicolons, trailing colons in enums git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159338 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
ba362a7f0e98b369758f07aec8794c61e688b82d |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fight more semicolons in macro definitions (to please mac cmake build) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159337 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
821f21b7cdd0bcc91102f08c8ee0773fd9273046 |
25-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Cleanup the handling of CFLAGS even more in the cmake build for ASan. Add the initial support for building ASan tests. The first change here is to try to get the CFLAGS to more closely match those used by the old Makefile. There are probably still goofs here, ASan folks, your review would be appreciated. The second big change is to add support for building both instrumentation based an non-instrumentation based unittests for ASan. They are built a bit differently from how the old makefiles managed things. Specifically, there are two binaries, one for the non-instrumented case, and one for the instrumented case. Also, the instrumented unit tests rely on the host compiler supporting AddressSanitizer's intrumentation pass. This is kind-of gross, but I don't know of a better way yet. I've mailed llvmdev to discuss this issue. One big caveat is that the detection logic currently doesn't work. I've commented it out temporarily as I'd like to get feedback from the ASan developers, etc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159134 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
a765ffcef39dc37bd6d7e597286fd76fbeb1b9fa |
25-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Another big step toward a viable CMake build system for CompilerRT, ASan, and friends. This explicitly switches the CompilerRT CMake build to require CMake version 2.8.8 or newer which provides first-class support for "object" libraries which consist of a pile of '.o' files -- exactly what is desired for composing runtime libraries. I've gone ahead and switched to using this. I've also added the interception library which I missed initially. And I've added proper dependencies between the various libraries. With this, I'm able to build archives for asan that appear to contain all of the necessary .o files. The final tweak here is to start setting up the compile flags and macro defines expected by ASan and its helper libraries. These may not be entirely correct currently, they're based loosely on my reading of the old Makefiles. However, they can be tweaked more easily now that they're wired up properly. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159129 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
6bae39d1db13f60d3e9b8393e5b9d9eb2ab1b5c0 |
25-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Lots of trivial changes to remove extraneous semicolons throughout ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159128 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
78159d0d5e91ff031a087173ff814c9fd2c216d3 |
11-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Add test rdx, rdx to fix ASan tests on Mac OS 10.7 x64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158312 91177308-0d34-0410-b5e6-96231b3b80d8
ach_override/mach_override.c
|
f54c0e3321e2381fca3f02faefaaa6639d59c7cf |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: rename interceptors from __xsan_xxx to __interceptor_xxx git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157569 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
|
580469d7e40e39319cb2d3750edac4bccca18105 |
24-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: weak interceptors The idea isthat asan/tsan can survive if user intercepts the same functions. At the same time user has an ability to call back into asan/tsan runtime. See the following tests for examples: asan/output_tests/interception_failure_test-linux.cc asan/output_tests/interception_test-linux.cc asan/output_tests/interception_malloc_test-linux.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157388 91177308-0d34-0410-b5e6-96231b3b80d8
nterception.h
nterception_linux.cc
nterception_linux.h
|
0d49904d50fc42b411c396c472ce70f8e4575f99 |
15-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move lib/asan/interception to lib/interception so that other tools (e.g. tsan) can use it git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156816 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
nterception.h
nterception_linux.cc
nterception_linux.h
nterception_mac.cc
nterception_mac.h
nterception_win.cc
nterception_win.h
ach_override/LICENSE.TXT
ach_override/Makefile.mk
ach_override/README.txt
ach_override/mach_override.c
ach_override/mach_override.h
|