History log of /external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/tests/asan_noinst_test.cc
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/tests/asan_noinst_test.cc
2c29212c42d457ade0bbd1d01de92195dd9ce925 28-Aug-2012 Kostya Serebryany <kcc@google.com> [asan] improve SetErrorReportCallbackTest to actually catch missing functionality in __asan_set_error_report_callback

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162745 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
f657a1977b6053c76ca8393f574da7593ea3ea12 13-Aug-2012 Alexey Samsonov <samsonov@google.com> [ASan] Add __asan_set_on_error_callback() interface function that allows user to set a callback to be called right when ASan detects an error

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
b831086e7c1e6004cf57594ec81b662f290dc2ac 25-Jul-2012 Kostya Serebryany <kcc@google.com> [asan] don't return from a never-return function. fix a test that had a chain of bugs instead of just one

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160719 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
1a7741b4e3c50a986502507fa8055475dd0fa0d0 24-Jul-2012 Alexey Samsonov <samsonov@google.com> [ASan] Support for cmake build of ASan unittests in 32-bit LLVM build. Currently, to run ASan unit tests both for 32- and 64 bits one has to maintain two distinct LLVM builds. In a bright future, we'd like to use a single build for this

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160666 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
63201b127e21d6fbfb6de62d0e44a5de01288153 23-Jul-2012 Alexey Samsonov <samsonov@google.com> [ASan] minor fixes to silence cmake build warnings

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
79d12e87fbcc1b2342d76367b99b83adf9cbf499 23-Jul-2012 Alexander Potapenko <glider@google.com> For wild addresses in the shadow or shadow gap areas print an error message instead of crashing on a check.
Add AddressSanitizer.MemsetWildAddressTest that makes sure a proper error message is printed.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160620 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
c9aeed824ebedb3b517826e648adcedc20103c46 28-Jun-2012 Alexey Samsonov <samsonov@google.com> [ASan] fix the build - erase second main as we link all test sources together

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159348 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
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
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
bff533684731c89bd5e99d0cf950a86c21a342e8 25-Jun-2012 Kostya Serebryany <kcc@google.com> [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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159135 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
e5f5895bda30f374b0b51412fd4d837fa59aed66 04-Jun-2012 Alexey Samsonov <samsonov@google.com> Remove file-type tags for .cc files in ASan run-time library

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157927 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
ee3925515e4c7966f3ef489f687aa7e5692806a9 31-May-2012 Kostya Serebryany <kcc@google.com> [asan] more renaming

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
3f4c3875c42078e22c7e5356c5746fd18756d958 31-May-2012 Kostya Serebryany <kcc@google.com> [asan] more renaming

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
30743140ff0f904b7f422b61d208e2837e7c631e 05-Dec-2011 Kostya Serebryany <kcc@google.com> [asan] always collect malloc statstics (removed FLAG_stats)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145838 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc
1e172b4bdec57329bf904f063a29f99cddf2d85f 30-Nov-2011 Kostya Serebryany <kcc@google.com> AddressSanitizer run-time library. Not yet integrated with the compiler-rt build system, but can be built using the old makefile. See details in README.txt

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/tests/asan_noinst_test.cc