llvm-project/compiler-rt/lib/sanitizer_common/tests
Alexey Samsonov 70f3897b0a [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
2014-11-05 22:44:36 +00:00
..
CMakeLists.txt [Sanitizer] Introduce generic stack frame rendering machinery 2014-11-05 22:44:36 +00:00
sanitizer_allocator_test.cc tsan: fix crash when a program registers zillions of atexit callbacks 2014-09-17 00:12:50 +00:00
sanitizer_allocator_testlib.cc Add throw() specifiers to more redeclarations of operator delete and operator delete[]. 2014-02-08 01:42:08 +00:00
sanitizer_atomic_test.cc asan: fix atomic operations on ARM 2014-01-22 14:13:37 +00:00
sanitizer_bitvector_test.cc [sanitizer] implement node removal in Deadlock graph 2014-02-17 11:21:52 +00:00
sanitizer_bvgraph_test.cc [sanitizer] speed up the bitvector-based deadlock detector by ~15% (iterate over the currently held locks using the array, not the bitvector. Bitvector is not the best data structure to iterate over) 2014-03-31 07:23:50 +00:00
sanitizer_common_test.cc [Sanitizer] Introduce generic stack frame rendering machinery 2014-11-05 22:44:36 +00:00
sanitizer_deadlock_detector_test.cc tsan: optimize memory access functions 2014-05-30 13:36:29 +00:00
sanitizer_flags_test.cc [sanitizer] Update flags test. 2014-05-29 14:55:12 +00:00
sanitizer_format_interceptor_test.cc [Sanitizer tests] Fix most of the build problems on Windows 2014-05-13 12:02:53 +00:00
sanitizer_ioctl_test.cc [sanitizer] Relax sanity checks in ioctl decoding. 2014-06-10 13:54:15 +00:00
sanitizer_libc_test.cc [Sanitizer tests] Exclude three tests that fail on Windows 2014-05-13 13:34:00 +00:00
sanitizer_linux_test.cc [sanitizer] Define kPthreadDestructorIterations on POSIX systems. 2013-10-11 14:19:14 +00:00
sanitizer_list_test.cc Remove thread-locals from sanitizer_common tests. 2013-01-14 14:06:58 +00:00
sanitizer_mutex_test.cc [Sanitizer tests] Fix most of the build problems on Windows 2014-05-13 12:02:53 +00:00
sanitizer_nolibc_test.cc [nolibc] Add a test case for Linux/x86_64. 2013-05-28 12:37:34 +00:00
sanitizer_nolibc_test_main.cc [nolibc] Now that we have a custom allocator, remove dummy allocator 2013-05-29 10:52:59 +00:00
sanitizer_posix_test.cc PR20721: Don't let UBSan print inaccessible memory 2014-09-17 17:56:15 +00:00
sanitizer_printf_test.cc [Sanitizer tests] Fix most of the build problems on Windows 2014-05-13 12:02:53 +00:00
sanitizer_procmaps_test.cc [Sanitizer tests] Fix most of the build problems on Windows 2014-05-13 12:02:53 +00:00
sanitizer_pthread_wrappers.h [Sanitizer tests] Add sanitizer_test_config.h to make the inclusion of gtest.h conditional 2014-05-13 13:25:12 +00:00
sanitizer_stackdepot_test.cc Change StackDepot interface to use StackTrace more extensively 2014-10-26 06:23:07 +00:00
sanitizer_stacktrace_printer_test.cc [Sanitizer] Introduce generic stack frame rendering machinery 2014-11-05 22:44:36 +00:00
sanitizer_stacktrace_test.cc [Sanitizer] Make StackTrace a lightweight reference to array of PCs, and 2014-10-26 03:35:14 +00:00
sanitizer_stoptheworld_test.cc [sanitizer_common] Add internal_clone(). 2013-09-02 11:36:19 +00:00
sanitizer_stoptheworld_testlib.cc [sanitizer] Minor fixes in sanitizer_common tests. 2013-05-14 13:19:33 +00:00
sanitizer_suppressions_test.cc [UBSan] Allow to suppress reports from vptr checker for specified types. 2014-08-05 01:24:22 +00:00
sanitizer_test_config.h [Sanitizer tests] Add sanitizer_test_config.h to make the inclusion of gtest.h conditional 2014-05-13 13:25:12 +00:00
sanitizer_test_main.cc [nolibc] Add a test case for Linux/x86_64. 2013-05-28 12:37:34 +00:00
sanitizer_test_utils.h Fix checks for Android. 2014-10-20 15:35:01 +00:00
sanitizer_thread_registry_test.cc tsan: address comments in r214912 2014-09-02 09:34:34 +00:00
standalone_malloc_test.cc [asan] add more frames to standalone_malloc_test 2013-01-14 07:59:09 +00:00