| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
__ANDROID__ is a define that comes from the toolchain when building
for Android targets. ANDROID has a different meaning. ANDROID is
defined for _every_ Android build, including those done for host
modules. For host modules, we want to build the regular Linux
sanitizers and builtins, not the one for Android devices. This hasn't
been a problem until now because we only just started building the
sanitizers for the host.
llvm-svn: 220203
|
|
|
|
|
|
|
|
|
|
| |
let's rename it to append_list_if
Doing s/append_if/append_list_if/, no functional change.
http://reviews.llvm.org/D5739
llvm-svn: 219860
|
|
|
|
| |
llvm-svn: 219681
|
|
|
|
|
|
|
| |
Updated the URL to reflect information on the problem as well as build the
case for ARM. This seems to be a wider problem, not ARM or PPC specific.
llvm-svn: 219680
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Detect Android toolchain target arch and set correct runtime library name.
* Merged a lot of Android and non-Android code paths.
* Android is only supported in standalone build of compiler-rt now.
* Linking lsan-common in ASan-Android (makes lsan annotations work).
* Relying on -fsanitize=address linker flag when building tests (again,
unification with non-Android path).
* Runtime library moved from lib/asan to lib/linux.
llvm-svn: 218605
|
|
|
|
|
|
| |
index() is deprecated.
llvm-svn: 218312
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
These two functions are unavailable on MSVC2012, which breaks building the
ASAN tests with MSVC2012. Since the tests required to run these functions
are disabled on Windows for now, avoid building them to fix the MSVC2012
builds.
Test Plan: This is needed in order to fix building the ASAN tests with MSVC2012.
Reviewers: timurrrr
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D5343
llvm-svn: 217763
|
|
|
|
| |
llvm-svn: 215264
|
|
|
|
|
|
| |
Patch by Yuri Gorshenin.
llvm-svn: 214396
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce new public header <sanitizer/allocator_interface.h> and a set
of functions __sanitizer_get_ownership(), __sanitizer_malloc_hook() etc.
that will eventually replace their tool-specific equivalents
(__asan_get_ownership(), __msan_get_ownership() etc.). Tool-specific
functions are now deprecated and implemented as stubs redirecting
to __sanitizer_ versions (which are implemented differently in each tool).
Replace all uses of __xsan_ versions with __sanitizer_ versions in unit
and lit tests.
llvm-svn: 212469
|
|
|
|
|
|
|
|
| |
Remove helper functions that were used in assembly instrumentation.
Patch by Yuri Gorshenin.
llvm-svn: 212456
|
|
|
|
|
|
|
| |
These functions are being removed from Android because they were removed
from POSIX 2004.
llvm-svn: 210962
|
|
|
|
| |
llvm-svn: 210255
|
|
|
|
|
|
|
|
| |
CMake variable
Reviewed at http://reviews.llvm.org/D3952
llvm-svn: 209889
|
|
|
|
|
|
|
|
| |
Windows-only tests explicitly use clang-cl.
Reviewed at http://reviews.llvm.org/D3893
llvm-svn: 209719
|
|
|
|
| |
llvm-svn: 209509
|
|
|
|
| |
llvm-svn: 209445
|
|
|
|
|
|
|
|
|
| |
This change also enables asm instrumentation in asan tests that was
accidentally disabled yearlier, and adds a sanity test for that.
Patch by Yuri Gorshenin.
llvm-svn: 209282
|
|
|
|
|
|
| |
Reviewed at http://reviews.llvm.org/D3796
llvm-svn: 209115
|
|
|
|
|
|
|
|
| |
gtest.h conditional
Reviewed at http://reviews.llvm.org/D3744
llvm-svn: 208696
|
|
|
|
| |
llvm-svn: 208695
|
|
|
|
|
|
| |
Reviewed at http://reviews.llvm.org/D3720
llvm-svn: 208682
|
|
|
|
|
|
| |
Reviewed at http://reviews.llvm.org/D3725
llvm-svn: 208674
|
|
|
|
|
|
|
|
|
|
|
| |
asan_cxx containts replacements for new/delete operators, and should
only be linked in C++ mode. We plan to start building this part
with exception support to make new more standard-compliant.
See https://code.google.com/p/address-sanitizer/issues/detail?id=295
for more details.
llvm-svn: 208609
|
|
|
|
|
|
| |
is not supported
llvm-svn: 208575
|
|
|
|
|
|
| |
(This also requires D3720, D3725 and a few more small changes to land)
llvm-svn: 208573
|
|
|
|
| |
llvm-svn: 208572
|
|
|
|
|
|
| |
avoid "unused function" warnings
llvm-svn: 208568
|
|
|
|
| |
llvm-svn: 208332
|
|
|
|
| |
llvm-svn: 208326
|
|
|
|
| |
llvm-svn: 208325
|
|
|
|
| |
llvm-svn: 208323
|
|
|
|
| |
llvm-svn: 208322
|
|
|
|
|
|
| |
building on Windows
llvm-svn: 208306
|
|
|
|
| |
llvm-svn: 207408
|
|
|
|
|
|
| |
-mllvm -asan-instrumentation-with-call-threshold=0. This is very unfortunate since it effectively doubles the number of gunit asan tests that need to be built and run, but as long as we need out-lined calls (PR17409) I see no other way to test this workaround
llvm-svn: 206742
|
|
|
|
| |
llvm-svn: 206593
|
|
|
|
|
|
|
|
|
| |
asan_free.
Interceptors don't really work on OSX in asan_noinst_test.cc (this is more or less intentional),
so one shouldn't call intercepted functions in this test -- added a comment about this.
llvm-svn: 206477
|
|
|
|
| |
llvm-svn: 206470
|
|
|
|
|
|
| |
with -mllvm -asan-instrumentation-with-call-threshold=N this will be a workaround for PR17409
llvm-svn: 206387
|
|
|
|
|
|
| |
Based on http://llvm-reviews.chandlerc.com/D3042 by Yuri Gribov!
llvm-svn: 205308
|
|
|
|
| |
llvm-svn: 204602
|
|
|
|
| |
llvm-svn: 204593
|
|
|
|
|
|
| |
Failing due to PR19207.
llvm-svn: 204590
|
|
|
|
| |
llvm-svn: 204589
|
|
|
|
| |
llvm-svn: 204238
|
|
|
|
| |
llvm-svn: 204234
|
|
|
|
| |
llvm-svn: 203773
|
|
|
|
|
|
| |
platforms
llvm-svn: 203224
|
|
|
|
| |
llvm-svn: 202847
|