diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-09-24 23:03:34 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-09-24 23:03:34 +0000 |
commit | 090f0f950451daeca08aa8e6df6c90c7a18a893c (patch) | |
tree | ba875de1e7745a895bc0198eeee0d2e7155b95ec /clang/lib/Basic/Cuda.cpp | |
parent | 20c4999e8b365a6db6f41f2a562c42c54029554f (diff) | |
download | llvm-090f0f950451daeca08aa8e6df6c90c7a18a893c.zip llvm-090f0f950451daeca08aa8e6df6c90c7a18a893c.tar.gz llvm-090f0f950451daeca08aa8e6df6c90c7a18a893c.tar.bz2 |
[hwasan] Record and display stack history in stack-based reports.
Summary:
Display a list of recent stack frames (not a stack trace!) when
tag-mismatch is detected on a stack address.
The implementation uses alignment tricks to get both the address of
the history buffer, and the base address of the shadow with a single
8-byte load. See the comment in hwasan_thread_list.h for more
details.
Developed in collaboration with Kostya Serebryany.
Reviewers: kcc
Subscribers: srhines, kubamracek, mgorny, hiraditya, jfb, llvm-commits
Differential Revision: https://reviews.llvm.org/D52249
llvm-svn: 342923
Diffstat (limited to 'clang/lib/Basic/Cuda.cpp')
0 files changed, 0 insertions, 0 deletions