llvm-project/compiler-rt/lib/memprof
Dmitry Vyukov 765921de5b sanitizer_common: prefix thread-safety macros with SANITIZER_
Currently we use very common names for macros like ACQUIRE/RELEASE,
which cause conflicts with system headers.
Prefix all macros with SANITIZER_ to avoid conflicts.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D116652
2022-01-07 15:11:00 +01:00
..
tests [memprof] Align each rawprofile section to 8b. 2021-11-30 20:12:43 -08:00
CMakeLists.txt [memprof] Extend llvm-profdata to display MemProf profile summaries. 2021-11-30 10:45:26 -08:00
memprof_allocator.cpp sanitizer_common: prefix thread-safety macros with SANITIZER_ 2022-01-07 15:11:00 +01:00
memprof_allocator.h [NFC][sanitizer] Remove SetSoftRssLimitExceededCallback 2021-12-02 14:37:02 -08:00
memprof_descriptions.cpp sanitizer_common: introduce kInvalidTid/kMainTid 2021-04-30 15:58:05 +02:00
memprof_descriptions.h
memprof_flags.cpp
memprof_flags.h
memprof_flags.inc [memprof] Make the raw binary format the default. 2021-11-11 11:29:36 -08:00
memprof_init_version.h
memprof_interceptors_memintrinsics.cpp
memprof_interceptors_memintrinsics.h
memprof_interceptors.cpp tsan: fix false positives in dynamic libs with static tls 2021-12-02 17:47:05 +01:00
memprof_interceptors.h [sanitizer] Fix VReport of symbol version 2021-08-25 14:32:15 -07:00
memprof_interface_internal.h
memprof_internal.h
memprof_linux.cpp
memprof_malloc_linux.cpp [sanitizer] Switch dlsym hack to internal_allocator 2021-11-12 16:11:10 -08:00
memprof_mapping.h
memprof_meminfoblock.h [memprof] Move the MemInfoBlock definition to a separate header. 2021-11-11 11:29:36 -08:00
memprof_mibmap.cpp [memprof] Replace the block cache with a hashmap. 2021-11-11 11:29:36 -08:00
memprof_mibmap.h [memprof] Replace the block cache with a hashmap. 2021-11-11 11:29:36 -08:00
memprof_new_delete.cpp
memprof_posix.cpp
memprof_preinit.cpp
memprof_rawprofile.cpp [memprof] Align each rawprofile section to 8b. 2021-11-30 20:12:43 -08:00
memprof_rawprofile.h [memprof] Extend llvm-profdata to display MemProf profile summaries. 2021-11-30 10:45:26 -08:00
memprof_rtl.cpp [sanitizer] Support IsRssLimitExceeded in all sanitizers 2021-12-03 12:45:44 -08:00
memprof_shadow_setup.cpp
memprof_stack.cpp
memprof_stack.h sanitizer_common: deduplicate CheckFailed 2021-05-12 08:50:53 +02:00
memprof_stats.cpp [NFC][sanitizer] Return StackDepotStats by value 2021-09-28 15:42:21 -07:00
memprof_stats.h
memprof_thread.cpp memprof: don't use thread user_id 2021-11-17 14:49:25 +01:00
memprof_thread.h sanitizer_common: add simpler ThreadRegistry ctor 2021-07-13 22:52:25 -07:00
memprof.syms.extra
README.txt
weak_symbols.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