History log of /external/compiler-rt/lib/asan/asan_internal.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
46efcb09dc16b91cb805abea52f3ff6081a63751 24-May-2013 Alexey Samsonov <samsonov@google.com> Disable init-order checking before destructors are run.

We don't want to report initialization-order bugs when a destructor of a global
variable accesses dynamically initialized global from another
(not necessarily initialized) module. We do this by intercepting __cxa_atexit and
registrering our own callback that unpoisons shadow for all dynamically initialized
global variables.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182637 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
649a270f5341efe9c57f473dbb78706b0b2ed523 03-Apr-2013 Alexey Samsonov <samsonov@google.com> [ASan] Kill the remainders of platform defines in favor of SANITIZER_ defines

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178629 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
7e8434940a1fe7dce531d4c458ccd714da48f609 28-Mar-2013 Alexey Samsonov <samsonov@google.com> [ASan] Speed-up initialization-order checking: create and use fast versions of PoisonShadow functions, store copies of __asan_global descriptors in a vector instead of list of pointers. This gives 3x speedup on both benchmarks and real binaries with lots of globals.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178239 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
30e110edf92303237d471f1cb8e3ad07954fb145 19-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] More renamed macros.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177401 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
83cb7877f608eb9b3d65981095216842f686c527 19-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Move ASan platform macros to sanitizer_common and rename them appropriately.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177397 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
e1353430866fe112de0f52ab6281dbc47e40ef66 20-Feb-2013 Kostya Serebryany <kcc@google.com> [asan] on linux, run __asan_init from .preinit_array (even earlier than before)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175623 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
e31eca900a1f8849af75100c2d92e838d79d0920 15-Feb-2013 Kostya Serebryany <kcc@google.com> [asan] make asan work with 7fff8000 offset and prelink

When prelink is installed in the system, prelink-ed
libraries map between 0x003000000000 and 0x004000000000 thus occupying the shadow Gap,
so we need so split the address space even further, like this:
|| [0x10007fff8000, 0x7fffffffffff] || HighMem ||
|| [0x02008fff7000, 0x10007fff7fff] || HighShadow ||
|| [0x004000000000, 0x02008fff6fff] || ShadowGap3 ||
|| [0x003000000000, 0x003fffffffff] || MidMem ||
|| [0x00087fff8000, 0x002fffffffff] || ShadowGap2 ||
|| [0x00067fff8000, 0x00087fff7fff] || MidShadow ||
|| [0x00008fff7000, 0x00067fff7fff] || ShadowGap ||
|| [0x00007fff8000, 0x00008fff6fff] || LowShadow ||
|| [0x000000000000, 0x00007fff7fff] || LowMem ||

Do it only if necessary.

Also added a bit of profiling code to make sure that the
mapping code is efficient.

Added a lit test to simulate prelink-ed libraries.
Unfortunately, this test does not work with binutils-gold linker.
If gold is the default linker the test silently passes.

Also replaced
__has_feature(address_sanitizer)
with
__has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)
in two places.

Patch partially by Jakub Jelinek.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175263 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
c70fa28caaaec2134f2c2230821fcc0f0d7ac27e 31-Jan-2013 Alexey Samsonov <samsonov@google.com> [ASan] Split ASan interface header into private and public parts. Add a test that makes sure users can include interface header

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
57db4bae483e7268dd7fc5bc42b0e55564014048 17-Jan-2013 Alexey Samsonov <samsonov@google.com> [ASan] minor changes to swapcontext handling: don't clear shadow memory if context stack is too large

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172727 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
e52810d7144ca35bbaeca0b28d138b386ab90243 25-Dec-2012 Kostya Serebryany <kcc@google.com> [asan] properly define ASAN_LOW_MEMORY. Due to a mistake it has been always true causing redzone and quarantine sizes to be smaller than it was some time before (and out of sync with the documentation). Also make one test less greedy

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171052 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
6a08d29b2020004b801ca69d8aea5872a7e67d72 07-Dec-2012 Alexey Samsonov <samsonov@google.com> ASan: change the strategy we use for installing malloc/free/symbolization hooks on Linux: don't provide a default no-op implementations for hooks in runtime, and optionally call hooks if they are provided by the user. Don't force weak interface functions into runtime.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169641 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
d4b5db8cb8a7a13bb5cc1d4ce53e8e088303c854 04-Dec-2012 Alexey Samsonov <samsonov@google.com> ASan: add new interface functions - __asan_(un)poison_stack_memory. Calls to these functions are inserted by the instrumentation pass in use-after-scope mode

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169201 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
0870028410087e67a0049c76cb7c64f02c260d24 23-Nov-2012 Alexey Samsonov <samsonov@google.com> [ASan] Add interceptor for swapcontext to fight with false positives in some of its use cases.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168508 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
e406c8c47570659287e619e23479f9fb6640299e 15-Nov-2012 Alexander Potapenko <glider@google.com> [ASan] Revert r168040 and r168043 and take a cleaner solution suggested by Kostya: return the known frame name for fake stack instead of looking it up.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168046 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
036945d16d94ed6e83a85e243d7fe89687b9baf8 15-Nov-2012 Alexander Potapenko <glider@google.com> [ASan] Poison the leftmost shadow byte with a special value so that we can find
the beginning of the fake frame when reporting an use-after-return error.
Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=126



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168040 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
3be338483aee033699cabfe47efe3e7c0b4c7a2b 03-Oct-2012 Alexander Potapenko <glider@google.com> Set ASAN_NEEDS_SEGV=0 on Android only.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165120 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
1ca535700966cf5019dcc6684a62a734a7b96974 02-Oct-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer/ASan] Simplify the code that prints and symbolizes stack traces. Fall back to module+offset if user-provided symbolizer failed. Use weak function __asan_symbolize instead of __asan_set_symbolize_callback in ASan interface, so that we're able to symbolize reports for errors that happen before the main() is called, for example, during module initialization.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165000 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
9712af9ce7f5efc14cb11af2599fd065e7b7a3dd 28-Sep-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [asan] Change defaults for Android target.

This way building without -DASAN_* in CFLAGS produces working binaries.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164816 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
80acccf4647c3482c3e3e6ae21e757ba580a5956 28-Aug-2012 Kostya Serebryany <kcc@google.com> [asan] one more fix for windows build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162762 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
1b5ea8fbbef73f5d9b41dbb26a21b9a0f4d1445e 28-Aug-2012 Kostya Serebryany <kcc@google.com> [asan] actually move StackTrace to sanitizer_common

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162757 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.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_internal.h
283c296b64bc55deec9698260b3427a9b050a925 28-Aug-2012 Kostya Serebryany <kcc@google.com> [asan] get rid of AsanPrintf in favor of Printf from sanitizer_common

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
3891ce634380845d337cd865e559f4abbdc8ebdb 27-Aug-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> A few tweaks for building ASanRT against Android NDK.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162666 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
70e177e29c6f9ac987b65a79f6b4f3ebdabc75cc 27-Aug-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move low-level (mmap-based) allocator to sanitizer_common

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
eb8c46e419f4c6f01d1b1a0d1b96cc51a61ecbc3 24-Aug-2012 Alexander Potapenko <glider@google.com> If the program is linked to a dynamic ASan runtime which is not present in DYLD_INSERT_LIBRARIES
(which, in turn, is required for our interceptors to take effect), re-exec the program with
DYLD_INSERT_LIBRARIES set.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162547 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
c93d3e2bdfb1ad9cce26a6e8d66764ed97a6d6b4 22-Aug-2012 Alexey Samsonov <samsonov@google.com> [ASan] get rid of ASAN_USE_EXTERNAL_SYMBOLIZER compiler def in favor of __asan_set_symbolize_callback interface function. Now the user doesn't have to recompile ASan runtime to provide its own symbolizer

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162358 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
3945c58f9db42671b1a3b865fde5008f09a3a40e 21-Aug-2012 Kostya Serebryany <kcc@google.com> [asan] run-time part of the initialization order checker. Patch by Reid Watson with some bits from kcc. The sub-pass is off by default for now. On simple tests it works fine.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162278 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.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_internal.h
75b19ebf25af204cf209d108997272822241d6da 23-Jul-2012 Alexander Potapenko <glider@google.com> Intercept CFAllocator for each thread in the program.
Test that child threads use the ASan allocator, that allocated memory can be passed to another thread and deallocated on it.
This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=81


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160630 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
7ed1d2b699767dd1875994cb625d51a95b44221a 10-Jul-2012 Alexey Samsonov <samsonov@google.com> [ASan] move flags description to separate header, add comments about them.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159985 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
4fbbcbea41c91498ac4cfbb3d3c7e1d83d7bb380 09-Jul-2012 Alexey Samsonov <samsonov@google.com> [ASan] cleanup: remove dead flag

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159934 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
cb8c4dce691097718d5af41b36899b72ef4b1d84 09-Jul-2012 Alexey Samsonov <samsonov@google.com> [ASan] Use common flags parsing machinery.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159933 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
0aa794d78fbb6359f81025217559f1b03ff07999 21-Jun-2012 Alexander Potapenko <glider@google.com> Factor the common code out of cf_free and mz_free.
Introduce the mac_ignore_invalid_free flag (0 by default) which makes both cf_free and mz_free ignore invalid free invocations and leak memory.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
c925697df6626bb0ea27ea96539bf0580f8f3d3d 15-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move all the rest re-implementations of libc functions from ASan runtime to common sanitizer runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158519 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
dd3a911e46b3f0416d60d9be5c84ccfc4b1c3aa8 15-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move ShadowRangeIsAvailable and several defines to common runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158499 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
4c49666e611f06241bb8462cea7674d877241492 15-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move atomic ops, min/max and sort to commnon runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158496 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
fa3daaf1d66314658e7c05bf63dc825d179f2faf 15-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move more portability wrappers to common runtime: sleep, _exit, abort, atexit, pthread_self

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158493 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
be7420cc79d8580eb354666eef638d39ee9cff80 15-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move DumpProcessMap and DisableCoreDumper to common runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158490 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
f607fc1c67a613a59a1db3c80c5d1322e1978102 14-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move rest of mmap routines to common sanitizer runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158452 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
3dbeabb3446f203156ae03d957de9bdf50933ae4 14-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move portable GetEnv to common sanitizer runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158451 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
cffe2f5c30c27234260d004b54152916ff0c45c6 07-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Move ReadFileToBuffer to sanitizer_common.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158138 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
a25b3463477d2a825df4f656001fc07c594b35ac 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Switch to common mmap/munmap routines in ASan run-time.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158078 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
8c53e54ef9e713953ec9495e82e5c330b96e49f3 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Make UNIMPLEMENTED macro common.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158077 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
15a77612e0a89c1df444a2034e531c8968d0cedf 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Use common CHECK machinery. Currently each tool has to define its own CheckFailed function.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158075 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
7ebac9534c484b06a0c2822d83f082a127e743bc 06-Jun-2012 Kostya Serebryany <kcc@google.com> [asan] start compacting the allocator header, the goal is to make it 16 bytes w/o losing any information

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158072 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
7fdcdf5a3a7090ec86d426a815bb42f3d35adf13 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Remove __attribute__((format))

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
e954101f6602ac181a2c3accfbbad0ae51b0bf7c 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms).

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
230c3be6cdd094a187f48e27ba0961dbeee70344 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Move more functions/constants to sanitizer_common.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
47657ce6cbac2fa93d0fd765c5d2872443b50e87 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [ASan] Use __sanitizer::Die() in ASan runtime.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158051 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
94b5036ee6ba866e1702848855b6d687d1e70afa 05-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] rename sanitizer_defs.h to sanitizer_internal_defs.h

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158001 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
b9a30e0799787a99147e2587ef5ecc8c5f224160 05-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] remove using namespace __sanitizer lines

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157999 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
0a4c906dbc8f150657ddd4f19a7192b779f1d605 05-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Use common defines for ASan and TSan runtime. Split defines between interface defines (can be visible in user code that includes interface ASan/TSan headers) and internal defines.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157998 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
1f11d31faa5ed89b74f7d543b1182fe8de198be5 05-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] add sanitizer_posix.cc. Move more various functions into sanitizer_libc: sscanf, munmap, memchr

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157994 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
2221f553886c37401b5d84923634ebf04bc482f1 05-Jun-2012 Alexey Samsonov <samsonov@google.com> [ASan] use internal_{close,read,write} in ASan runtime.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157991 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
9552db72ce37a9f090be4d9fecfbe75458c6d7bb 05-Jun-2012 Alexey Samsonov <samsonov@google.com> [ASan] use internal_open from sanitizer_libc in ASan runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157986 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
b49879cdb4a792048c81a96cbd91876dba34b766 31-May-2012 Kostya Serebryany <kcc@google.com> [asan] partial fix for windows build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157748 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
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/asan_internal.h
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/asan_internal.h
16e0075746b21ed866ec3be21ef0d1e46f0efed5 31-May-2012 Kostya Serebryany <kcc@google.com> [asan,tsan] rename files in sanitizer_common to have a common prefix (sanitizer_).

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157740 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
b3cedf98a3c8545da2234c2d35cb5d687984035f 29-May-2012 Kostya Serebryany <kcc@google.com> [asan,tsan] Add a new directory compiler-rt/lib/sanitizer_common
which will contain code shared between asan and tsan run-times.

Naming is hard. If you can suggest a better name for the directory -- speak up.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157611 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
62f10e7e8b604275ca1c7cc924f32854d04829fb 28-May-2012 Alexander Potapenko <glider@google.com> Rework the flags machinery a bit.
Clients may define the __asan_default_options char string containing the default options for the tool now.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157582 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
37931239a3671ac0d2c7865f3077b0c4f71b94b3 25-May-2012 Alexander Potapenko <glider@google.com> Introduce the check_malloc_usable_size flag (on by default).
When the flag is set to zero, we do not check for errors in malloc_usable_size.
This may be useful to work around a bug in Nvidia drivers prior to 295.*


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157472 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
8c505efd769a21eac7de53bc104757245af6ed4a 21-May-2012 Timur Iskhodzhanov <timurrrr@google.com> [ASan] Make for-Windows RTL compileable using Clang++

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157188 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
850a49ecb344a71d62347bbee8042ae13b624033 06-Apr-2012 Kostya Serebryany <kcc@google.com> [asan] last bit for gcc compatibility

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154203 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
4d5f98df886051afeece1698d4bc8f154391c22d 06-Apr-2012 Alexey Samsonov <samsonov@google.com> [ASan] move replacements for new/delete to separate file

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154167 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
f8e6fee734cf5e3d061f576244b2704853148b04 06-Apr-2012 Kostya Serebryany <kcc@google.com> [asan] add flags: disable_core, abort_on_error and unmap_shadow_on_exit

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154159 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
f1e82b8fda94535e9a646fc5fe394d9883ccfa2c 05-Apr-2012 Kostya Serebryany <kcc@google.com> [asan] make __asan::Deallocate immune to racy double-free (issue #57)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154097 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
f03d8afc8b8dd072c4e2884a7475ee28ac5f3f41 05-Apr-2012 Alexander Potapenko <glider@google.com> Introduce the use_sigaltstack flag (off by default), which enables using alternate
per-thread stacks for signal handling. This allows to print more verbose error reports
for stack overflows.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154092 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
34a3202a2c22816a6da66959e266a2d078ded37b 26-Mar-2012 Alexey Samsonov <samsonov@google.com> [ASan] use macro to define if we should intercept signal/sigaction

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153430 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
38dd4ed885e714c376466f6fe0d69f5f22d37014 20-Mar-2012 Alexey Samsonov <samsonov@google.com> [ASan]: remove GetMacosVersion from asan_mac.h header

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153084 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
95d6b33a6a533f628872bd942339ff42f9ff1a6b 20-Mar-2012 Alexey Samsonov <samsonov@google.com> [ASan]: re-enable noreturn attribute on posix

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
9f311bb0919d86ab3df2810dc0b81b70a87677e3 15-Mar-2012 Kostya Serebryany <kcc@google.com> [asan] fix unwinding inside libc intercepors (asan issue #46)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152768 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
469a1ab32f53b8fd7cde76211565ce577dfb8f14 13-Mar-2012 Timur Iskhodzhanov <timurrrr@google.com> [ASan] Undo NORETURN on POSIX as it's not clear how to do this cleanly yet

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152631 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
b55c88d6d21c862261f267c5199e3aacc0cd30eb 13-Mar-2012 Timur Iskhodzhanov <timurrrr@google.com> [ASan] Fix build error on Linux; screen-reviewed by glider@google.com

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152629 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
23bd2bb37cbc4a2736be817d746752a03cee2d5f 13-Mar-2012 Timur Iskhodzhanov <timurrrr@google.com> [ASan/Win] Eliminate a couple of FIXMEs, add NORETURN to CheckFailed/UNIMPLEMENTED

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152628 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
25c7178bf96d2316a3d9424b118d04bc51be1a9b 10-Mar-2012 Kostya Serebryany <kcc@google.com> [asan] use O(log(N)) algorithm instead of O(N) in __asan_get_ownership

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
8ae44ac678644265ba82a1b5696a402c9301a85c 27-Feb-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> Replace some #ifdef(s) with plain if(s).


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151526 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
600972e3427173cc8904d741decd1af0ed5de9fd 24-Feb-2012 Timur Iskhodzhanov <timurrrr@google.com> [ASan] Intercept CreateThread on Windows

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
bfc694d2a8531444c7c44e5785c0bb708601eb54 22-Feb-2012 Alexey Samsonov <samsonov@google.com> AddressSanitizer: quick fix - undef INT32_MIN etc to avoid macro redefinition

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151165 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
b823e3c5f7891dbbde1eb288237f5f3d5ed64d85 22-Feb-2012 Alexey Samsonov <samsonov@google.com> AddressSanitizer: get rid of stdlib.h and add (smaller) stddef.h instead

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151162 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
e4092f6780e107797bc6f2c77219a7256f7b04f3 22-Feb-2012 Alexey Samsonov <samsonov@google.com> AddressSanitizer: get rid of limits.h, use constants for fixed size integral types instead.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151159 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
99d17ebc36fe74326493bdd3dab4082ffc1dc96e 22-Feb-2012 Alexander Potapenko <glider@google.com> Move the contents of AsanProcMaps::Dump() into AsanDumpProcessMaps() for Posix systems.
Define AsanDumpProcessMaps as unimplemented on Windows.

This should fix the Windows build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151147 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
e1fe0fd868886b53cb8d5d957afebbdd47688df7 13-Feb-2012 Kostya Serebryany <kcc@google.com> [asan] implement __asan_set_death_callback

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150414 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
f73a6a3f81573ba85a5e29955980818b18b0a58a 13-Feb-2012 Alexander Potapenko <glider@google.com> Move the non-trivial implementation of AsanShadowRangeIsAvailable to asan_mac.cc
to avoid crashes on Linux and Win.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150398 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
3e81fe43798c096d1d3565596f0717b9919de4fb 09-Feb-2012 Timur Iskhodzhanov <timurrrr@google.com> [asan] The first version of the RTL for Windows, reviewed at http://codereview.appspot.com/5647052

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150185 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
71d3b398a39663c771918747762142215a1dc87d 08-Feb-2012 Alexander Potapenko <glider@google.com> Move the _ReturnAddress definition out of the __asan:: namespace
Patch by Timur Iskhodzhanov (timurrrr@google.com)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150075 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
a0935fa0ef02e47408996c25dac00b5f8a6b1406 08-Feb-2012 Alexander Potapenko <glider@google.com> Typo fix: s/SNPrint/SNPrintf



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150069 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
1c83ae34f32737a203c66e9d9c419f821a0db02f 07-Feb-2012 Kostya Serebryany <kcc@google.com> [asan] GET_CALLER_PC macro for Win. Patch by timurrrr@google.com

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149994 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
f58f998066db0231e521169d2f50af439ceecb49 07-Feb-2012 Kostya Serebryany <kcc@google.com> [asan] make sure the AsanThread object is destroyed if pthread_exit is called

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149940 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
adf2b036127d7e887392d9be5b02069b777ee280 03-Feb-2012 Alexey Samsonov <samsonov@google.com> AddressSanitizer: Replace __attribute__ with macro (for Win compatibility). Patch by timurrrr@google.com

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
669f543c1400f7a1b9a48313d2f95e54f750bd4b 31-Jan-2012 Kostya Serebryany <kcc@google.com> [asan] fix the wrong __WORDSIZE definition on Win x64, add ASAN_INTERFACE_FUNCTION_ATTRIBUTE. Patch by timurrrr@google.com

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
cb00d134727c322e2f26298912f77e10be46aefe 31-Jan-2012 Kostya Serebryany <kcc@google.com> [asan] new run-time flag: sleep_before_dying (asan Issue #31)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149306 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
858220837f85db7eb5eedd5ea68603803b5eb3c9 30-Jan-2012 Kostya Serebryany <kcc@google.com> [asan] minor ifdef cleanup

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149274 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
6f0452914ec76c786eb865983793bc03b00fc7b6 27-Jan-2012 Alexander Potapenko <glider@google.com> Make compiler-rt/trunk/lib/asan compileable with Visual Studio 2008 on Windows.
Patch by Timur Iskhodzhanov (timurrrr@google.com)

To test:
$ cl /c *.c*
in the asan directory.

The code fails to link if you omit the "/c" part but that's one of the
next steps,
as well as a few TODO's I've put into the Windows-specific code.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
c8365231004cb1d956aba4164c89ea1398eadd6b 27-Jan-2012 Alexander Potapenko <glider@google.com> Make compiler-rt/trunk/lib/asan compileable with g++.
Patch by Timur Iskhodzhanov (timurrrr@google.com)

The double-extern thing is
http://llvm.org/bugs/show_bug.cgi?id=11869

And the #include <string[s].h> are only needed on Mac (see comments in
the original code)
and also including them might make strchr/index conflict with the g++
system headers (which don't follow the man pages, ouch!)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149129 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
1d483d4e933705971ff6285522fb5aecfb8a2e20 18-Jan-2012 Alexander Potapenko <glider@google.com> Delete sysinfo/* and all references to it.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148386 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
8a34d384255f9bf4c2a9b03a4df81b9af57124d8 18-Jan-2012 Alexander Potapenko <glider@google.com> Implement AsanProcMaps for Mac OS. The code from sysinfo/ is not needed anymore and should be cleaned up.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148385 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
1e316d7f488a75312539629e9d937e156280eeb6 13-Jan-2012 Alexander Potapenko <glider@google.com> This patch moves the code reading /proc/self/environ into AsanGetEnv
in asan_linux.cc, because /proc is unavailable on Mac.
Instead the Mac version of AsanGetEnv iterates over the array of
environment variables obtained from _NSGetEnviron()



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148114 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
dde7c33df06a9a0a8056f2357d764a10512206ee 11-Jan-2012 Kostya Serebryany <kcc@google.com> [asan] remove OS-dependent headers from asan_internal.h

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147919 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
cc4e6862c6a8f8f3ead96bd32b815184a36faded 11-Jan-2012 Kostya Serebryany <kcc@google.com> [asan] move TSD code into asan_posix.cc

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
0ecf5eb729dd81a43f8585cb438d3cb2a35899ed 10-Jan-2012 Kostya Serebryany <kcc@google.com> [asan] don't include unistd.h in the headers

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147811 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
a7e760a53bc43b8e09bfdf5cd6f215267ba99729 09-Jan-2012 Kostya Serebryany <kcc@google.com> [asan] refactoring: move some common linux/mac code to asan_posix.cc

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
4803ab90ead451b55a5833f0fd38b10fd1fc83eb 09-Jan-2012 Kostya Serebryany <kcc@google.com> [asan] refactoring: move all interceptors to a single file

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
9107c26bd88fc9cf44a2cd7d6967eb830ac63be3 06-Jan-2012 Kostya Serebryany <kcc@google.com> [asan] move more code into OS-specific files

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147671 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
ef14ff6512d7b2e20aa3206dff820b5f90285420 06-Jan-2012 Kostya Serebryany <kcc@google.com> [asan] move more stuff to OS-specific files

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
df499b44de81fc757a789878f07fcaf19ebb0016 05-Jan-2012 Kostya Serebryany <kcc@google.com> [asan] implement our own /proc/self/maps reader and use it on linux instead of sysinfo.h

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147581 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
a874fe5b5d67152e4e737498d532eec80940bdcd 29-Dec-2011 Kostya Serebryany <kcc@google.com> [asan] refactoring: don't #include <sys/mman.h> in non-os-specific files

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147328 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
de496f451bce322b6cde100456591f1f50ab3477 28-Dec-2011 Kostya Serebryany <kcc@google.com> [asan] use custom libc-free getenv; a bit of refactoring around mmap calls

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147326 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
13ebae606b526399771e9cca1d6a9d24458ad0f1 27-Dec-2011 Kostya Serebryany <kcc@google.com> [asan] rely on __has_feature(address_sanitizer) instead of the ADDRESS_SANITIZER macro

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147297 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
6b30e2cf0d9d471d276f91ef4bb74dbd9876f4d9 15-Dec-2011 Kostya Serebryany <kcc@google.com> [asan] poison the internal asan heap memory, just in case. Change Printf to Report when debugging globals.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
c6f2223a8772262e5e682403f2d57f0b465a98fc 08-Dec-2011 Kostya Serebryany <kcc@google.com> [asan] move build-time config options from makefile to source (otherwise we need config options in all makefiles)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146161 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
dd8d4981e149fd32b83406fae2dc42216c771f79 06-Dec-2011 Kostya Serebryany <kcc@google.com> [asan] minor cleanup

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
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/asan_internal.h
b89567ce41bef82cf92a9c741c78b632c07b2781 02-Dec-2011 Kostya Serebryany <kcc@google.com> [asan] get rid of std::map. No STL and almost no libstdc++ left.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145706 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
2d8b3bdb112ebb8ed3f15ee41d4cebcd683b41b0 02-Dec-2011 Kostya Serebryany <kcc@google.com> [asan] minimize the use of STL. One bit is still left.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145691 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
4616633bb9e20f66d83bfac70c9afce1922d1eec 02-Dec-2011 Daniel Dunbar <daniel@zuster.org> lib/asan: Attempt to ensure __WORDSIZE gets defined, it is not always set by
Darwin's stdint.h for example.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
d6567c5166412f6acdde851e767c26f332d51d3d 01-Dec-2011 Kostya Serebryany <kcc@google.com> [asan] flatten the asan-rt build slightly

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145631 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
218a9b70d7338cf5b727b7dad6b080ad7869c6c2 30-Nov-2011 Kostya Serebryany <kcc@google.com> Refactor shadow poisoning done by asan-rt, no funtionality changes; patch by samsonov@google.com

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145505 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_internal.h
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/asan_internal.h