Skip to content
  1. Jul 23, 2012
  2. Jul 19, 2012
  3. Jul 17, 2012
  4. Jul 10, 2012
  5. Jul 09, 2012
  6. Jul 06, 2012
  7. Jul 05, 2012
  8. Jul 04, 2012
  9. Jul 03, 2012
    • Alexey Samsonov's avatar
      [Sanitizer] Extend a symbolizer code. Implemented for Linux only. Use... · 961276af
      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
      961276af
  10. Jul 02, 2012
  11. Jun 29, 2012
  12. Jun 28, 2012
  13. Jun 27, 2012
    • Chandler Carruth's avatar
      Add support for building the ASan instrumentation unit tests with the · 9aaf156f
      Chandler Carruth authored
      just-built Clang binary, and linking them against the just-built ASan
      runtime.
      
      This is *very* brittle. I expect it will require tweaking, and I've
      pro-actively disabled it on non-Unix builds and on cross-builds.
      
      It is also currently missing dependency edges on GoogleTest header files
      and a few other corner cases, but those can be fixed. This is the major
      milestone of a mini-bootstrap-like build of the unittest.
      
      llvm-svn: 159255
      9aaf156f
  14. Jun 25, 2012
    • Kostya Serebryany's avatar
      [asan] update the cmake file for asan · c639b394
      Kostya Serebryany authored
      llvm-svn: 159143
      c639b394
    • Kostya Serebryany's avatar
      [asan] move tests from asan_interface_test.cc to asan_noinst_test.cc. Now all... · 9ed4f506
      Kostya Serebryany authored
      [asan] move tests from asan_interface_test.cc to asan_noinst_test.cc. Now all these tests do not require instrumentation and work directly with asan rt
      
      llvm-svn: 159135
      9ed4f506
    • Chandler Carruth's avatar
      Cleanup the handling of CFLAGS even more in the cmake build for ASan. · 9359efa9
      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
      9359efa9
    • Kostya Serebryany's avatar
    • Chandler Carruth's avatar
      Another big step toward a viable CMake build system for CompilerRT, · c78ad00c
      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
      c78ad00c
    • Chandler Carruth's avatar
      bbff278c
  15. Jun 23, 2012
  16. Jun 21, 2012
Loading