[all-commits] [llvm/llvm-project] 2e33ed: [memprof] Use -memprof-runtime-default-options to ...
Ellis Hoag via All-commits
all-commits at lists.llvm.org
Fri Dec 6 09:22:37 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e33ed9ecc52fcec27eac2efb2615d1efcf6fd32
https://github.com/llvm/llvm-project/commit/2e33ed9ecc52fcec27eac2efb2615d1efcf6fd32
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2024-12-06 (Fri, 06 Dec 2024)
Changed paths:
M compiler-rt/include/sanitizer/memprof_interface.h
M compiler-rt/lib/memprof/memprof_flags.cpp
M compiler-rt/lib/memprof/memprof_flags.h
M compiler-rt/lib/memprof/memprof_interface_internal.h
M compiler-rt/lib/memprof/memprof_rtl.cpp
M compiler-rt/lib/memprof/weak_symbols.txt
M compiler-rt/test/memprof/TestCases/default_options.cpp
A compiler-rt/test/memprof/TestCases/set_options.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
A llvm/test/Instrumentation/HeapProfiler/memprof-options.ll
Log Message:
-----------
[memprof] Use -memprof-runtime-default-options to set options during compile time (#118874)
Add the `__memprof_default_options_str` variable, initialized via the
`-memprof-runtime-default-options` LLVM flag, to hold the default options string
for memprof. This allows us to set these options during compile time in
the clang invocation.
Also update the docs to describe the various ways to set these options.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list