History log of /external/compiler-rt/lib/asan/asan_posix.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c58a43648cd6121c51a2e795a28e2ef90d7813e6 20-Sep-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r275480

Bug: http://b/31320715

This merges commit db963a21048fd7242daae74666cb221f796f33c3 from
aosp/dev.

Test: Build AOSP and run RenderScript tests (host tests for slang and
libbcc, RsTest, CTS)

Change-Id: I8bdd651c1759c4306d62c34edec1d8d9536c9715
/external/compiler-rt/lib/asan/asan_posix.cc
799172d60d32feb1acba1a6867f3a9c39a999e5c 04-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r256229

http://b/26987366

Change-Id: I0ca3d7d3f1b7926fcffcb5b467e79958de576437
/external/compiler-rt/lib/asan/asan_posix.cc
259f7063e3e4c4b94dded1e90ab0a943d0fa737b 06-May-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r235153

Change-Id: I7c900e78d263fe0f574369e8383ccac7e36f5c3b
/external/compiler-rt/lib/asan/asan_posix.cc
7c9150579ed0278492f51cc8434b1d63a44b9bd1 08-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r233350

Change-Id: I5f20256ce73ec7b5956f742b4062f850bf11b667
/external/compiler-rt/lib/asan/asan_posix.cc
86277eb844c4983c81de62d7c050e92fe7155788 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master compiler-rt for rebase to r230699.

Change-Id: I6c415fd5f6420e3012d9da76719111721e906dfa
/external/compiler-rt/lib/asan/asan_posix.cc
6d1862363c88c183b0ed7740fca876342cf0474b 27-Nov-2014 Stephen Hines <srhines@google.com> Update aosp/master compiler-rt for rebase to r222486.

Change-Id: I38047809dbac0425193c82e810315998adbb380d
/external/compiler-rt/lib/asan/asan_posix.cc
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/asan/asan_posix.cc
6866dba92ac842fc513ba339ba849a953ffb7507 15-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: move verbosity flag to CommonFlags



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192701 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
e86e35fbe861e73c5991200510a028877427b3e7 14-Oct-2013 Sergey Matveev <earthdok@google.com> [asan] Improve thread lifetime tracking on POSIX systems.

Call AsanThread::Destroy() from a late-running TSD destructor.
Previously we called it before any user-registered TSD destructors, which caused
false positives in LeakSanitizer.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192585 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
a27bdf70ca24202dce21cf7c1a387aeaa400d889 05-Apr-2013 Kostya Serebryany <kcc@google.com> [sanitizer] found a bug by code inspection: CHECK(a=b) instead of CHECK(a==b). Was puzzled why lint did not catch it. Turns out this check was disabled for asan source. fix all cases and enable the check

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178872 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
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_posix.cc
def1be9b7ef4091ce465c0fbfb26cdb52128ade8 21-Mar-2013 Alexey Samsonov <samsonov@google.com> [ASan] Switch ASan to generic ThreadRegistry from sanitizer_common. Delete ASan-specific AsanThreadRegistry.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177634 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
89c1384464848c1ad041becf8b97936fa10de21b 20-Mar-2013 Alexey Samsonov <samsonov@google.com> [ASan] Move GetCurrentThread/SetCurrentThread from AsanThreadRegistry class into plain functions: they don't actually use registry

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177501 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
24e13723f8477d8c42ab8b2a7f4f69fc089842f1 19-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Replace more platform checks with SANITIZER_ constants.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
f3950c6d6acf53fe60735f6d38715c1ea6df814b 23-Nov-2012 Alexey Samsonov <samsonov@google.com> [ASan] intercept swapcontext on Linux only

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168509 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
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_posix.cc
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_posix.cc
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_posix.cc
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_posix.cc
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_posix.cc
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_posix.cc
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_posix.cc
996651d09e56caa91ffcc33bf1a13a283cfcd5e2 14-Jun-2012 Alexey Samsonov <samsonov@google.com> [ASan] don't include deleted header

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158448 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
6895adc39c4e09371154c8037366ad4464163ed0 07-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] __asan::AsanProcMaps -> __sanitizer::ProcessMaps.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158139 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
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_posix.cc
e0cff0bc20ae51790c8edfbceb817e18ebf5355e 06-Jun-2012 Kostya Serebryany <kcc@google.com> [asan] make tid u32 instead of int

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158074 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
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_posix.cc
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_posix.cc
5bcca4e33ececdddd8e9e07619c129e870492251 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [ASan] Make printf arguments match format strings better.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
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_posix.cc
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_posix.cc
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_posix.cc
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_posix.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/asan_posix.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/asan_posix.cc
a87bdaa1eab379ae4d9a24456f41f8ae36ba33f6 30-May-2012 Alexander Potapenko <glider@google.com> Be more verbose when installing the signals.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157693 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
c99f70044d64482adbc1053f04b32bdbf0d4c057 23-May-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> Move AsanShadowRangeIsAvailable() from mac to posix.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157326 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
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_posix.cc
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_posix.cc
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_posix.cc
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_posix.cc
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_posix.cc
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_posix.cc
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_posix.cc
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_posix.cc
09672caefb5694f1981a1712fdefa44840a95e67 08-Feb-2012 Alexey Samsonov <samsonov@google.com> AddressSanitizer: replace all "real_X" calls with "REAL(X)"

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150073 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_posix.cc
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_posix.cc
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_posix.cc
9cfa194cc62026fc7c6e82f7303eee8ad4d10cf4 19-Jan-2012 Evgeniy Stepanov <eugeni.stepanov@gmail.com> EHABI-based stack trace on ARM.

The change removes the unused FLAG_fast_unwind, and forces EHABI-based unwind
on ARM, and fast (FP-based) unwind everywhere else.


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