[PATCH] [Sanitizer] Introduce generic stack frame rendering machinery
Alexey Samsonov
vonosmas at gmail.com
Wed Nov 5 12:31:30 PST 2014
Hi kcc,
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.
http://reviews.llvm.org/D6140
Files:
lib/sanitizer_common/CMakeLists.txt
lib/sanitizer_common/sanitizer_common.cc
lib/sanitizer_common/sanitizer_common.h
lib/sanitizer_common/sanitizer_stacktrace_libcdep.cc
lib/sanitizer_common/sanitizer_stacktrace_printer.cc
lib/sanitizer_common/sanitizer_stacktrace_printer.h
lib/sanitizer_common/tests/CMakeLists.txt
lib/sanitizer_common/tests/sanitizer_common_test.cc
lib/sanitizer_common/tests/sanitizer_stacktrace_printer_test.cc
lib/tsan/rtl/tsan_report.cc
lib/ubsan/ubsan_diag.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6140.15825.patch
Type: text/x-patch
Size: 21568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141105/f5c622f4/attachment.bin>
More information about the llvm-commits
mailing list