bb7f2d880c843dd5ee1c5e53d2517f7ca9058e66 |
|
16-Jul-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Use less shadow on Win 32-bit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186393 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
a64d4359902f1f64992aedfe10d8882ae7c66f40 |
|
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Rename InternalVector to InternalMmapVector git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
d64bcf43935c9ceeb7376ca4185662811ae907ea |
|
11-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] support running external llvm-symbolizer on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
c5288679cc55c523188a40325d49d97b100cf03c |
|
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix windows mingw build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183644 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
1f3c2fee395abc36230c445e9ebdba55c4729d35 |
|
29-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Make InternalAlloc/InternalFree in sanitizer runtimes libc-free by switching to a custom allocator. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
0b694fcab9b2f33bdd6691cbea4e80a5c27191b1 |
|
17-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move all platforms to internal_getpid. Before, we had an unused internal_getpid function for Linux, and a platform-independent GetPid function. To make the naming conventions consistent for syscall-like functions, the GetPid syscall wrapper in sanitizer_posix.cc is moved to sanitizer_mac.cc, and GetPid is renamed to internal_getpid, bringing the Linux variant into use. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
0c547de62dc0852a03fae2d868fa571e7f5512b3 |
|
17-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Begin moving sanitizer_common's libc-dependent code to a separate library Introduce a new object library, RTSanitizerCommonLibc, which will contain the subset of sanitizer_common with libc dependencies. RTSanitizerCommon contains the remainder of sanitizer_common, and is intended to have no libc dependencies. Begin moving code to RTSanitizerCommonLibc, starting with sanitizer_common.cc, whose libc-dependent portion is moved to sanitizer_common_libcdep.cc, the first member of the new library. This split affects the CMake build only. The makefile build continues to produce the full sanitizer_common library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182118 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
15bb32b9e1342030a6c4742625f3c3356de42a2a |
|
13-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Generic sorting in sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181698 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
9578a3ecfc35a264ede1135033398e2a77a6cad6 |
|
08-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Change internal syscall API to remove reliance on libc's errno. This change moves to a model where the error value of a system call is potentially contained in the return value itself rather than being implicit in errno. The helper function internal_iserror can be used to extract the error value from a return value. On platforms other than Linux/x86_64 this still uses errno, but other platforms are free to port their error handling to this new model. Differential Revision: http://llvm-reviews.chandlerc.com/D756 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
24323de08fa8850712d56621bff29dbbbd0285a9 |
|
07-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Move GetThreadStackAndTls from TSan to sanitizer_common. Move this function to sanitizer_common because LSan uses it too. Also, fix a bug where the TLS range reported for main thread was off by the size of the thread descriptor from libc (TSan doesn't care much, but for LSan it's critical). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181322 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
62db3f26edf6c17ab562c0480176341303a9463a |
|
26-Apr-2013 |
Sergey Matveev <earthdok@google.com> |
Revert r180599 "[sanitizer] Clear LD_PRELOAD when forking an external symbolizer." git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
ab06583d10baafeb657ad3e87d77f4ebfb2a6190 |
|
26-Apr-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Clear LD_PRELOAD when forking an external symbolizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180599 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
ff7c14f911463db91b574533f62eb847a2e08b1c |
|
23-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
Revert r180082 and add a test for SetEnv function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180098 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
51ecba39a18cc292c5ecb3adcb6571ad141b5402 |
|
23-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Delete unused function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
7ed46ff7af911da0dd2067734d1408c6986c6657 |
|
05-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use a common mutex to prevent mixing reports from different sanitizers. This fixes PR15516 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178853 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
e5b398f7aba39c4ac04d1e8a0d08cdede3b14b59 |
|
01-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Added data() and capacity() getters to InternalVector. Same interface as in STL. Needed for LSan. Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
96950030d58582acbd13939916dc2e507304b7e2 |
|
29-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Follow-up for r178238 - replace DCHECKs with regular CHECKs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178336 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
ca280f2809eea49ac90860a5827c81dd09c65cdb |
|
28-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Minor enhancements in InternalVector container git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178238 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
b152b1f1411f47848037ab5120c142cf28a9d487 |
|
25-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add SetEnv() function that can be used in frontends git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177857 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
4bebe7bab966c82f0a8952f797ed3d490624dc62 |
|
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use a single background thread for memory profiler and memory flush (and later for symbolizer flush) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177627 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
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/sanitizer_common/sanitizer_common.h
|
3614c16084e8a0dc8ae3418402a2d0c6f8107e39 |
|
15-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] StopTheWorld in sanitizer_common StopTheWorld puts the process in a suspended state before running the user-supplied callback. To be used in TSan and in leak checking code. Linux implementation provided. Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177156 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
b114ed83859d8d4964ac2284584733bcd2acf4f6 |
|
13-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Move GetTlsSize code from TSan to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176938 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
352b245d32c6022a6eb5f5dec7f1d341c4ab88a3 |
|
05-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add methods back() and pop_back() to InternalVector. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176478 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
b5f952134cad10f8416ebeccf375da771e4b9ca9 |
|
26-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] A low-level vector implementation to be used in leak checking code. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176089 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
f155fccd1f26f771c9f7f265a4c30faebdfb214f |
|
26-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] a bit stricter lint for CHECK vs CHECK_XX (these CHECK_XX really help debugging!) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176085 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
f882247088952deed954a19d745c2dd8871e2035 |
|
20-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use raw syscall instead of _exit() function on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175622 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
0fa691b7ec97d8c3948a637d6263822ed4e738f7 |
|
18-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Make temporary filename depend on user ID git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175424 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
400a946f7300de3db5c50585e3b0aff2ac3c6509 |
|
08-Feb-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Move functions using BitScan/clzl to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174706 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
2673fd8406197c42f16cede6d287f72169298c2e |
|
06-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] print a short one-line report summary after the full report. Currently, works only if symbolization happens in-process. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174501 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
ee7cc4454421a176d23442382afd9a01d36e7ad4 |
|
01-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] make internal_open have the same interface as libc version git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174187 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
859778a4e2dffa4024fa3e13b105fd62eca44b1c |
|
31-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] make the error messages from sanitizer_common contain the actual tool name git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
a54aec8ca2e372b1a841d605d53cab5e336aeb03 |
|
27-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] when unmapping a chunk of user memory, apply madvise(MADV_DONTNEED) to the corresponding chunk of shadow memory. Also update sanitizer_allocator64_testlib.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
bc9940eedb51dd43d844a4c46e17bc89f872781f |
|
14-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more asan_allocator2 code: actually un/poison shadow on malloc/free git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170190 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
9bfe78f7d4f9af3cdacb4d34bd7b4fead27dcda5 |
|
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] introduce MmapFixedOrDie and use it in SizeClassAllocator64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
84a996fc1057ffea9213608c47a54c3d3d3aed02 |
|
11-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more code for asan_allocator2: basic Allocate/Deallocate code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
25742574510cfb41b97e32f63f107fbb9b328d13 |
|
10-Dec-2012 |
Alexander Potapenko <glider@google.com> |
Add a libsanitizer API __sanitizer_sandbox_on_notify(void* reserved), which should be used by the client programs to notify the tools that sandboxing is about to be turned on. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169732 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
dddb18b7be36fe1843c8b98a8d9d7614aef5ce8d |
|
07-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] implement SanitizerSetThreadName/SanitizerGetThreadName. Just for linux so far (using prctl(PR_GET_NAME)) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169598 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
cc7525951f401d61e2467f1ebc1b133205516a6c |
|
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add MmapAlignedOrDie git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169474 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
864f5131db7ccd3fc8344dc2bcdebf66c03a900e |
|
03-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] remove unused InternalAllocBlock as part of larger refactoring git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169123 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
e89f1846d58550f919a0ef9081b11d4b0405019d |
|
24-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] get rid of kPageSize completely in favor of GetPageSizeCached(). This makes the code friendly to more platforms git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168537 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
f67ec2b6e8d2ae328c27de0b026eea2d6667836e |
|
23-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of some of the uses of kPageSize. The intent is to get rid of it completely to support platforms with multiple possible page sizes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
7104f9cc013b4e63e068b63ae8801a54658c3d08 |
|
21-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of kPageSizeBits git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168426 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
5af39e50366f1aacbebc284f572f08ad1ad07357 |
|
21-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. Instead, define our own SANITIZER_WORDSIZE git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168424 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
d7d4650dd754aafc874e3b8cd5ab5b38005c84ec |
|
20-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more support for powerpc, patch by Peter Bergner git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168356 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
93b4cafd631b661b4b612ccdc0938f7f1e1c86d6 |
|
09-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add sanity checks for communication with external symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167617 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
84d57b4ce545d6c19effac01124749a9df0fd0a5 |
|
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add internal_isatty to sanitizer_libc and PrintsToTty to determine whether error reports are printed to terminal git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
e0023f74ea88efee329f68391b70f8adc6b21617 |
|
02-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165004 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
7dccf3f92a867f917ad19f9a6b37bcf93e64b35b |
|
02-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: output tid's in reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164998 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
d7e5bb4043adf4756e6f8cfe0f5a3165b185474d |
|
17-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Hoist functions to get/set stack size and re-exec from memory-sanitizer branch to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
591616d323d73b7ea7cd8fea4eec46cedccda27e |
|
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Get rid of dependency between sanitizer_common and asan/tsan runtimes: implement tool-specific Die and CheckFailed functions via callbacks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163603 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
1dc4cf7e253aefa3ce3bd4a1d349a13647e8b2ea |
|
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove implicit conversion of InternalScopedBuffer<T> to T* git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163197 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
4fa111ccf225648a3de447a7a1ed6420b3c4b3af |
|
29-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] use InternalScopedBuffer instead of stack arrays. Use mmap inseted of InternalAlloc in InternalScopedBuffer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.h
|
d883c8007ea8b5ffad10d82a66b1bb262e109705 |
|
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] align allocation sizes in low level allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
947fbd1a073fcd38988c1ec131452e99bb0313f8 |
|
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use low-level allocator in flag parsing to avoid calling malloc() before ASan/TSan initialization is done git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162673 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.h
|
14c8bd7250742749e44e306c02a56cf47ad1db82 |
|
22-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] switch tsan to using InternalScopedBuffer from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162351 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
6611abe0c2737a37c1c69f0527a35bb34875221d |
|
21-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] define InternalScopedBuffer to replace large arrays on stack. It is defined analogous to similar class in tsan and should replace it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162262 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
0dc3177d6c54fafb9577254a93b2f3c4169129d7 |
|
16-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] implement straightforward nlogn sorting, as qsort() may call malloc, which leads to deadlock in ASan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160262 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
b78caa645f70eff2f037f1f8bb43ca9129dbd8d9 |
|
05-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: Go language support git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
a68633fb76208137ccb807914df52758ee5ca6f0 |
|
03-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Extend a symbolizer code. Implemented for Linux only. Use dl_iterate_phdr to get virtual addresses of mapped module sections. To symbolize an address from a module, map this module to memory and obtain pointers to debug info sections. Later these pointers can be passed to constructor of DWARF context-in-memory from LLVM DebugInfo lib. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159652 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
fce5bd4cc29fddb5e8f0cb9c12df7c10187a991d |
|
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: unify atomics (move atomics from tsan to sanitizer_common) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159437 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
225f53194082f475a5d21780344ff79a2a387c13 |
|
25-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove internal allocator, switch to sanitizer_common one. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159142 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
8ebf84cd52a571d47183c0f2a6bf73b25752d8d8 |
|
22-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] more code for a specialized tsan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158991 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
de08c02aa3007a590bfb7d43f31d5b1a0e7d337c |
|
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to sanitizer libc) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158710 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
0969bcf2c936126b1f6e636b978aade8fc207437 |
|
18-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move different wrappers from TSan to common sanitizer runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.h
|
6e0c3a447307091ff5340c302f828ea9632709ca |
|
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Allocator for internal runtime purposes. Currently it calls libcmalloc, but we might have to make it more low-level in future git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158142 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
ed996f79710f532bf231537e44d5c8c9c9d57e8d |
|
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158141 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|
e5931fd7d2a74fd7fb60bd8d7f644cca51a24364 |
|
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] factor out GetThreadStackTopAndBottom from ASan runtime to common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158140 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.h
|
6dc48dd17d81933194366716c9e16f2e85c728b6 |
|
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more allocator compaction git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.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/sanitizer_common/sanitizer_common.h
|
9edf7508e4ad536d26a202224548081d36eddd70 |
|
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add sanitizer_common.h for routines shared between TSan and ASan runtimes. Use __sanitizer::Die() in TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_common.h
|