summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/ThreadSafety.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-11-05 22:44:36 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-11-05 22:44:36 +0000
commit70f3897b0ab525b603cd702533f64a32bde1911f (patch)
treee5df44790a0917f865172131b7e448ba7614753a /clang/lib/Analysis/ThreadSafety.cpp
parent35f05747f3c240d2e0a5bcb6485b5021bbe6492b (diff)
downloadbcm5719-llvm-70f3897b0ab525b603cd702533f64a32bde1911f.tar.gz
bcm5719-llvm-70f3897b0ab525b603cd702533f64a32bde1911f.zip
[Sanitizer] Introduce generic stack frame rendering machinery
Summary: This commit introduces function __sanitizer::RenderFrame() that allows to render the contents of AddressInfo (essentially, symbolized stack frame) using the custom format string. This function can be used to implement stack frame formatting for both ThreadSanitizer and generic StackTrace::Print(), used in another places. This paves the way towards allowing user to control the format of stack frames, obtaining them in any format he desires, and/or enforcing the consistent output from all sanitizers. Test Plan: compiler-rt test suite Reviewers: kcc Reviewed By: kcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6140 llvm-svn: 221409
Diffstat (limited to 'clang/lib/Analysis/ThreadSafety.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud