forked from OSchip/llvm-project
2721e27c3a
We have some significant amount of duplication around CheckFailed functionality. Each sanitizer copy-pasted a chunk of code. Some got random improvements like dealing with recursive failures better. These improvements could benefit all sanitizers, but they don't. Deduplicate CheckFailed logic across sanitizers and let each sanitizer only print the current stack trace. I've tried to dedup stack printing as well, but this got me into cmake hell. So let's keep this part duplicated in each sanitizer for now. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D102221 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
README.txt | ||
memprof.syms.extra | ||
memprof_allocator.cpp | ||
memprof_allocator.h | ||
memprof_descriptions.cpp | ||
memprof_descriptions.h | ||
memprof_flags.cpp | ||
memprof_flags.h | ||
memprof_flags.inc | ||
memprof_init_version.h | ||
memprof_interceptors.cpp | ||
memprof_interceptors.h | ||
memprof_interceptors_memintrinsics.cpp | ||
memprof_interceptors_memintrinsics.h | ||
memprof_interface_internal.h | ||
memprof_internal.h | ||
memprof_linux.cpp | ||
memprof_malloc_linux.cpp | ||
memprof_mapping.h | ||
memprof_new_delete.cpp | ||
memprof_posix.cpp | ||
memprof_preinit.cpp | ||
memprof_rtl.cpp | ||
memprof_shadow_setup.cpp | ||
memprof_stack.cpp | ||
memprof_stack.h | ||
memprof_stats.cpp | ||
memprof_stats.h | ||
memprof_thread.cpp | ||
memprof_thread.h | ||
weak_symbols.txt |
README.txt
MemProfiling RT ================================ This directory contains sources of the MemProfiling (MemProf) runtime library. Directory structure: README.txt : This file. CMakeLists.txt : File for cmake-based build. memprof_*.{cc,h} : Sources of the memprof runtime library. Also MemProf runtime needs the following libraries: lib/interception/ : Machinery used to intercept function calls. lib/sanitizer_common/ : Code shared between various sanitizers. MemProf runtime can only be built by CMake. You can run MemProf tests from the root of your CMake build tree: make check-memprof