71b42c9740e6f73da607aaa539affb5c4807231c |
|
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add print_full_thread_history runtime option (on by default) that prints all full thread creation paths for threads involved in ASan error report git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_report.h
|
d865fecddccebf898ceed24d096fc58fb29a6e57 |
|
29-Aug-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Relocate the external headers provided by ASan and the common sanitizer library. These headers are intended to be available to user code when built with AddressSanitizer (or one of the other sanitizer's in the future) to interface with the runtime library. As such, they form stable external C interfaces, and the headers shouldn't be located within the implementation. I've pulled them out into what seem like fairly obvious locations and names, but I'm wide open to further bikeshedding of these names and locations. I've updated the code and the build system to cope with the new locations, both CMake and Makefile. Please let me know if this breaks anyone's build. The eventual goal is to install these headers along side the Clang builtin headers when we build the ASan runtime and install it. My current thinking is to locate them at: <prefix>/lib/clang/X.Y/include/sanitizer/common_interface_defs.h <prefix>/lib/clang/X.Y/include/sanitizer/asan_interface.h <prefix>/lib/clang/X.Y/include/sanitizer/... But maybe others have different suggestions? Fixing the style of the #include between these headers at least unblocks experimentation with installing them as they now should work when installed in these locations. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_report.h
|
c3390df6670cb166119b961eb27a033fb9073496 |
|
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] some renaming before we move StackTrace into sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_report.h
|
9873792adb79e9daa1594564cbe5b2d680c5ed13 |
|
10-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] share code executed at the beginning/end of printing error reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161666 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_report.h
|
663c50134e01feefb6c5418c6ec7753be951c14f |
|
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move mac-specific error reports to asan_report.cc as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161576 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_report.h
|
812ff90eaad0e4555554ffb81db0e611ec434e10 |
|
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Small fix to please tests on Windows, where stack unwinding using provided pc/bp works too bad git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161575 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_report.h
|
c98570beff64ec0a513dcc11a4662ffba70e43dd |
|
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move __asan_report_error implementation to asan_report.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161574 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_report.h
|
e4bfca2b154a6ab4eda921aff454035f33f3551a |
|
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move code that describes globals to asan_report.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161572 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_report.h
|
e218beb2d14b663bd277158f386a86d0e62fef74 |
|
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move some functions that describe addresses to asan_report.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161571 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_report.h
|
487fee7f6f7497906a00d7d2fe2c75e6d5d4feb1 |
|
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move error reporting code away from file with interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161570 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_report.h
|
f7c1d18183d2dfbd02864cf47b3239d6a5d717c0 |
|
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move error reports away from ASan allocator. Add new source file to CMakeLists as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_report.h
|
7354509ec8a37262c5ea0c54f99afee8a5116ce5 |
|
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Create new files asan_report.{h,cc} as a preparation for refactoring of ASan error reporting code. Currently ASan reports many kinds of errors, and the code that actually prints error messages can be found inside allocator, OS-specific files, interceptors code etc. An example of maintenance troubles this situation causes: There is currently an ASan interface function that registers callback which should take the char buffer with error report printed by ASan. This function is now broken, as one has to insert callback calls to all the places in ASan code where the error reports are printed, surprisingly it is not only "__asan_report_error" function... git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161568 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_report.h
|