llvm-project/compiler-rt/lib/scudo/standalone
Arthur Eubanks e7196bdf81 [Scudo][CMake] Add -fno-lto to Scudo libraries
-fno-lto is in SANITIZER_COMMON_CFLAGS but not here.
Don't use SANITIZER_COMMON_CFLAGS because of performance issues.
See https://bugs.llvm.org/show_bug.cgi?id=46838.

Fixes
$ ninja TScudoCUnitTest-i386-Test
on an LLVM build with -DLLVM_ENABLE_LTO=Thin.
check-scudo now passes.

Reviewed By: cryptoad

Differential Revision: https://reviews.llvm.org/D84805
2020-07-29 10:24:06 -07:00
..
benchmarks scudo: Use more size classes in the malloc_free_loop benchmarks. 2020-02-03 13:18:25 -08:00
fuzz scudo: Add support for diagnosing memory errors when memory tagging is enabled. 2020-04-17 17:26:30 -07:00
include/scudo [scudo][standalone] mallopt runtime configuration options 2020-07-28 11:57:54 -07:00
tests [scudo][standalone] Add new mallopt options. 2020-07-28 16:28:16 -07:00
tools scudo: Table driven size classes for Android allocator. 2020-02-10 14:59:49 -08:00
CMakeLists.txt [Scudo][CMake] Add -fno-lto to Scudo libraries 2020-07-29 10:24:06 -07:00
allocator_config.h [scudo][standalone] mallopt runtime configuration options 2020-07-28 11:57:54 -07:00
atomic_helpers.h scudo: Replace ALIGNED macro with standard alignas specifier. 2020-04-09 14:36:03 -07:00
bytemap.h [scudo][standalone] Shift some data from dynamic to static 2020-02-18 09:38:50 -08:00
checksum.cpp Add vendor identity check for Hygon Dhyana processor in Scudo 2020-05-11 09:17:57 -07:00
checksum.h scudo: Replace a couple of macros with their expansions. 2019-11-27 10:12:27 -08:00
chunk.h [scudo][standalone] Add chunk ownership function 2019-12-03 08:32:26 -08:00
combined.h [scudo][standalone] mallopt runtime configuration options 2020-07-28 11:57:54 -07:00
common.cpp compiler-rt: Rename .cc file in lib/scudo/standalone to .cpp 2019-08-01 14:36:38 +00:00
common.h [scudo][standalone] mallopt runtime configuration options 2020-07-28 11:57:54 -07:00
crc32_hw.cpp [scudo][standalone] Get statistics in a char buffer 2019-10-09 15:09:28 +00:00
flags.cpp scudo: Create a public include directory. NFCI. 2020-03-23 18:23:29 -07:00
flags.h [Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone. 2019-12-13 09:09:41 -08:00
flags.inc [scudo] Zero- and pattern-initialization of memory. 2020-04-30 15:00:55 -07:00
flags_parser.cpp scudo: Replace a couple of macros with their expansions. 2019-11-27 10:12:27 -08:00
flags_parser.h [Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone. 2019-12-13 09:09:41 -08:00
fuchsia.cpp scudo: Add support for diagnosing memory errors when memory tagging is enabled. 2020-04-17 17:26:30 -07:00
fuchsia.h [scudo][standalone] Introduce the Secondary allocator 2019-04-24 14:20:49 +00:00
internal_defs.h scudo: Replace ALIGNED macro with standard alignas specifier. 2020-04-09 14:36:03 -07:00
linux.cpp scudo: Add support for diagnosing memory errors when memory tagging is enabled. 2020-04-17 17:26:30 -07:00
linux.h scudo: Update TLS_SLOT_SANITIZER value. 2019-10-18 20:00:32 +00:00
list.h [scudo][standalone] Lists fix 2019-10-28 15:08:08 -07:00
local_cache.h [scudo][standalone] Release smaller blocks less often 2020-07-16 09:44:25 -07:00
memtag.h scudo: Interleave odd and even tags for adjacent blocks. 2020-07-23 15:09:13 -07:00
mutex.h [scudo][standalone] Work with -Werror=class-memaccess 2020-04-11 07:29:12 -07:00
platform.h [scudo][standalone] Support __BIONIC__ 2019-12-20 12:59:33 -08:00
primary32.h [scudo][standalone] mallopt runtime configuration options 2020-07-28 11:57:54 -07:00
primary64.h [scudo][standalone] mallopt runtime configuration options 2020-07-28 11:57:54 -07:00
quarantine.h [scudo][standalone] Work with -Werror=class-memaccess 2020-04-11 07:29:12 -07:00
release.cpp [scudo][standalone] Release smaller blocks less often 2020-07-16 09:44:25 -07:00
release.h [scudo][standalone] Change the release loop for efficiency purposes 2020-07-24 10:35:49 -07:00
report.cpp scudo: Replace a couple of macros with their expansions. 2019-11-27 10:12:27 -08:00
report.h [scudo][standalone] Add error reports 2019-03-20 14:31:23 +00:00
secondary.h [scudo][standalone] mallopt runtime configuration options 2020-07-28 11:57:54 -07:00
size_class_map.h [scudo][standalone] Various improvements wrt RSS 2020-02-26 12:25:43 -08:00
stack_depot.h scudo: Add support for diagnosing memory errors when memory tagging is enabled. 2020-04-17 17:26:30 -07:00
stats.h [scudo][standalone] Work with -Werror=class-memaccess 2020-04-11 07:29:12 -07:00
string_utils.cpp [scudo][standalone] Get statistics in a char buffer 2019-10-09 15:09:28 +00:00
string_utils.h [scudo][standalone] Get statistics in a char buffer 2019-10-09 15:09:28 +00:00
tsd.h scudo: Replace ALIGNED macro with standard alignas specifier. 2020-04-09 14:36:03 -07:00
tsd_exclusive.h [scudo][standalone] mallopt runtime configuration options 2020-07-28 11:57:54 -07:00
tsd_shared.h [scudo][standalone] mallopt runtime configuration options 2020-07-28 11:57:54 -07:00
vector.h [scudo][standalone] Enabled SCUDO_DEBUG for tests + fixes 2019-11-15 08:33:57 -08:00
wrappers_c.cpp scudo: Instead of exporting a pointer to the allocator, export the allocator directly. NFCI. 2020-02-10 14:57:54 -08:00
wrappers_c.h scudo: Interleave odd and even tags for adjacent blocks. 2020-07-23 15:09:13 -07:00
wrappers_c.inc [scudo][standalone] Add new mallopt options. 2020-07-28 16:28:16 -07:00
wrappers_c_bionic.cpp scudo: Add support for diagnosing memory errors when memory tagging is enabled. 2020-04-17 17:26:30 -07:00
wrappers_c_checks.h scudo: Replace a couple of macros with their expansions. 2019-11-27 10:12:27 -08:00
wrappers_cpp.cpp scudo: Instead of exporting a pointer to the allocator, export the allocator directly. NFCI. 2020-02-10 14:57:54 -08:00