- Jul 03, 2012
-
-
Alexey Samsonov authored
[Sanitizer] Extend a symbolizer code. Implemented for Linux only. Use dl_iterate_phdr to get virtual addresses of mapped module sections. To symbolize an address from a module, map this module to memory and obtain pointers to debug info sections. Later these pointers can be passed to constructor of DWARF context-in-memory from LLVM DebugInfo lib. llvm-svn: 159652
-
- Jul 02, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 159518
-
Dmitry Vyukov authored
llvm-svn: 159516
-
Alexey Samsonov authored
[ASan] cmake cleanup: make tab/space padding in CMakeLists consistent, silence/fix some pedantic warnings llvm-svn: 159514
-
- Jun 29, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 159449
-
Dmitry Vyukov authored
llvm-svn: 159447
-
Dmitry Vyukov authored
llvm-svn: 159443
-
Dmitry Vyukov authored
llvm-svn: 159439
-
Dmitry Vyukov authored
llvm-svn: 159438
-
Dmitry Vyukov authored
llvm-svn: 159437
-
Kostya Serebryany authored
llvm-svn: 159432
-
Kostya Serebryany authored
llvm-svn: 159429
-
Kostya Serebryany authored
llvm-svn: 159424
-
- Jun 27, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 159294
-
- Jun 26, 2012
-
-
Kostya Serebryany authored
llvm-svn: 159204
-
- Jun 25, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 159142
-
Kostya Serebryany authored
llvm-svn: 159140
-
Kostya Serebryany authored
llvm-svn: 159139
-
Kostya Serebryany authored
llvm-svn: 159137
-
Chandler Carruth authored
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. llvm-svn: 159134
-
Chandler Carruth authored
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. llvm-svn: 159129
-
Kostya Serebryany authored
llvm-svn: 159122
-
- Jun 22, 2012
-
-
Kostya Serebryany authored
llvm-svn: 159002
-
Kostya Serebryany authored
llvm-svn: 158991
-
- Jun 21, 2012
-
-
Kostya Serebryany authored
[tsan] first step in implementing a custom allocator for tsan (and msan) which saves precious shadow llvm-svn: 158913
-
- Jun 20, 2012
-
-
Kostya Serebryany authored
llvm-svn: 158821
-
Chandler Carruth authored
to get it working again, two changes were needed: - I had to give up on glob-based file expansion. This just isn't well supported by CMake, and until we convince upstream there of its value, it's not worth dealing with the pain. - Add the common library as otherwise even ASan won't build. This now builds again, although the "correctness" of it is a touch debatable. ;] Specifically, there is no merging of the common runtime library with the asan runtime library into a single archive file. I'm not really sure what the best technique is for that, and it may be influenced by the ongoing discussion about how best to link runtime libraries. Note of course that this is still very much WIP. It doesn't entirely work yet, and remains disabled by the LLVM projects/CMakeLists.txt until it is in a working state. llvm-svn: 158811
-
- Jun 19, 2012
-
-
Alexey Samsonov authored
llvm-svn: 158710
-
Alexey Samsonov authored
[Sanitizer] State that sanitizer_libc.h header can be included in the user code (and therefore it shouldn't include other sanitizer runtime headers). llvm-svn: 158707
-
Alexey Samsonov authored
llvm-svn: 158706
-
- Jun 18, 2012
-
-
Alexey Samsonov authored
llvm-svn: 158658
-
Alexey Samsonov authored
[TSan] kill some linux-specific code in favor of code in common runtime: reuse wrappers for mmap routines, ProcessMaps iterator, thread stack calculation llvm-svn: 158657
-
Alexey Samsonov authored
llvm-svn: 158655
-
- Jun 15, 2012
-
-
Alexey Samsonov authored
llvm-svn: 158524
-
Alexey Samsonov authored
llvm-svn: 158522
-
Alexey Samsonov authored
[Sanitizer] move all the rest re-implementations of libc functions from ASan runtime to common sanitizer runtime llvm-svn: 158519
-
Alexey Samsonov authored
[Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc. llvm-svn: 158517
-
Alexey Samsonov authored
llvm-svn: 158502
-
Alexey Samsonov authored
llvm-svn: 158499
-
Alexey Samsonov authored
llvm-svn: 158496
-