forked from OSchip/llvm-project
![]() The first 8b of each raw profile section need to be aligned to 8b since the first item in each section is a u64 count of the number of items in the section. Summary of changes: * Assert alignment when reading counts. * Update test to check alignment, relax some size checks to allow padding. * Update raw binary inputs for llvm-profdata tests. Differential Revision: https://reviews.llvm.org/D114826 |
||
---|---|---|
.. | ||
tests | ||
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_meminfoblock.h | ||
memprof_mibmap.cpp | ||
memprof_mibmap.h | ||
memprof_new_delete.cpp | ||
memprof_posix.cpp | ||
memprof_preinit.cpp | ||
memprof_rawprofile.cpp | ||
memprof_rawprofile.h | ||
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