History log of /external/compiler-rt/lib/asan/asan_fake_stack.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3d763c0d3700e73b3aead8e65e04ec28efc56138 04-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r256229

http://b/26987366

(cherry picked from commit 799172d60d32feb1acba1a6867f3a9c39a999e5c)

Change-Id: I0362e411c56dbd5a7a10f9ca1f2ad33a40c8abd4
/external/compiler-rt/lib/asan/asan_fake_stack.cc
cdce50bda3603770cc4ef80cbb613c78b8e47a17 01-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r239765

Change-Id: I722dcde07e4f76a8a35ca701d89be5f311840e74
/external/compiler-rt/lib/asan/asan_fake_stack.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_fake_stack.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_fake_stack.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_fake_stack.cc
c519335c2d6d32acaac32c0595f08a05081567e7 14-Oct-2013 Sergey Matveev <earthdok@google.com> [lsan] Support ASan's stack-use-after-return mode in LSan.

Treat the fake stack as live memory.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192593 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
e1c68c319a0113be832da17a777892353a8b5f23 27-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] introduce run-time flag uar_stack_size_log to control the size of FakeStack; don't crash when the fake stack is exhausted, move some code to .cc file

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
230e52f4e91b53f05ce19dbbf11047f4a0113483 18-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] add a run-time option detect_stack_use_after_return, add verbosity output for fake stack

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190932 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
b388987bf988435ee87dc4848ea8e62ebfa942eb 17-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] further speedup use-after-return: simplify deallocation of fake frames. ~ 20% speedup.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
ff64012e04faede5eaecd68db0edd86e8b15853c 13-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] Android does not have TLS

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190669 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
0f2283742e1d37ebf0c5ac034dab704a7d9af099 13-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] don't record the class_id in FakeFrame (scratching the last bits of performance)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190666 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
dff16d41223d2df3762ba64a0a529c5e475de34f 13-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] more performance to FakeStack: a) don't used atomic exchange, instead rely on regular load and store and other signal-safe logic; b) remove allocated_from_size_class_mask_ which is not helping much anyway; Another 10% speedup

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190664 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
9433af375c7813486be91d2ac76f5072ee41818d 13-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] second attempt to use TLS with fake stack. This time it looks (more) async-signal safe.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
b8a903c18120f40cc09aac3c28c1214a0ffceda7 13-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] undo the previous commit since TLS hack breaks with signals... :(

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190662 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
6147f02a9116a79b608b9ef547ccca51c70bffe2 13-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] use TLS on Linux to get the FakeStack. Saves 15% performance

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190661 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
8f7ec32eb34fb051f22e10b228ac056f919c4284 13-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] inline PoisonShadow in FakeStack to get ~10% speedup

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190660 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
b1173c27c2791aef27304e68911a11648401064d 12-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] a bit of performance improvement in fake stack, generalized one test, fixed android build of another test

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
89de457bd3ec40d38bc7860f88f1d4da473eacc4 12-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] add a test for use-after-return and exceptions and fix it. Not 100% sure this is a complete fix, will keep looking for harder cases.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190603 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
c98fc1f8e52812cfaf5b19a29db5ed56acb0a682 12-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] hopefully make the FakeStack async-signal safe, enable the related test

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190592 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
86b88b80bdb7ea9a265f8946e7918bcc388abceb 12-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] use xchg instead of CAS in FakeStack::Allocate (5% faster for this case)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190589 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
ac3ae5dc29d3623ada2bcb0db22ee88b0382e3b1 12-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] fully re-implement the FakeStack (use-after-return) to make it faster and async-signal-safe. The implementation is not yet complete (see FIXMEs) but the existing tests pass.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190588 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
34e3ed1db94c5ce9784d7ffb8d66a54cf523e09c 10-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] refactor the use-after-return API so that the size class is computed at compile time instead of at run-time. compiler-rt part

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190406 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
73dc36ea7dd04a2ea52ffae91670913731de209a 04-Sep-2013 Kostya Serebryany <kcc@google.com> [asan] make use-after-return handle very deep recursion; fixes 483.xalancbmk in UAR mode

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189929 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
6102afb6651a43f6fa3c66810e321e464aff1172 28-Aug-2013 Kostya Serebryany <kcc@google.com> [asan]: fix a CHECK failure in use-after-return mode; enable and fix stack-use-after-return.cc; add a test for UAR mode in asan_noinst_test

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189457 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
103e5b744497fdc57be9efe5e6ef40a896736993 30-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [asan] Limit fake stack size to a reasonable value when running with unlimited stack.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
7a0bba457ee05ced3adf37a0c0790d0ed23a5446 26-Jun-2013 Kostya Serebryany <kcc@google.com> [asan] initialize fake_stack lazily and increase its maximal size. This makes -fsanitize=address,use-after-return more robust: all SPEC tests pass now. In the default mode thread stacks become a bit smaller.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184934 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
5e97ba38b00eb843a55189bb913b445cbe620894 29-May-2013 Timur Iskhodzhanov <timurrrr@google.com> Fix MSVC W3 compiler warnings

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182857 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.cc
71c9e9ebd85afdea5d0b56cdf9138fc5afc609cb 11-Apr-2013 Kostya Serebryany <kcc@google.com> [asan] improve the UAR reporting (try harder to find the correct frame), try to make the test more stable

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179292 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_fake_stack.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_fake_stack.cc
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_fake_stack.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_fake_stack.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_fake_stack.cc
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_fake_stack.cc
2679f1904dc5d5eb2ce82014116764c5f5131a2b 10-Dec-2012 Kostya Serebryany <kcc@google.com> [asan] move FakeStack into a separate file

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