aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-11-03 22:23:44 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-11-03 22:23:44 +0000
commit40733a8024776d7fe088f433a234f85bfc91692f (patch)
treecf0cae88305f4e578d476cd71c28b3aaefdb1f38 /llvm/lib/CodeGen/StackMaps.cpp
parent46ecdeecc4931d42b9d28b38de0081f6d7c0adc6 (diff)
downloadllvm-40733a8024776d7fe088f433a234f85bfc91692f.zip
llvm-40733a8024776d7fe088f433a234f85bfc91692f.tar.gz
llvm-40733a8024776d7fe088f433a234f85bfc91692f.tar.bz2
[TSan] Use StackTrace from sanitizer_common where applicable
Summary: This change removes `__tsan::StackTrace` class. There are now three alternatives: # Lightweight `__sanitizer::StackTrace`, which doesn't own a buffer of PCs. It is used in functions that need stack traces in read-only mode, and helps to prevent unnecessary allocations/copies (e.g. for StackTraces fetched from StackDepot). # `__sanitizer::BufferedStackTrace`, which stores buffer of PCs in a constant array. It is used in TraceHeader (non-Go version) # `__tsan::VarSizeStackTrace`, which owns buffer of PCs, dynamically allocated via TSan internal allocator. Test Plan: compiler-rt test suite Reviewers: dvyukov, kcc Reviewed By: kcc Subscribers: llvm-commits, kcc Differential Revision: http://reviews.llvm.org/D6004 llvm-svn: 221194
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions