[all-commits] [llvm/llvm-project] 5c20d7: [MemProf] Allow the binary to specify the profile ...
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Thu Oct 22 08:30:48 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5c20d7db9f2791367b9311130eb44afecb16829c
https://github.com/llvm/llvm-project/commit/5c20d7db9f2791367b9311130eb44afecb16829c
Author: Teresa Johnson <tejohnson at google.com>
Date: 2020-10-22 (Thu, 22 Oct 2020)
Changed paths:
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/log_path_test.cpp
Log Message:
-----------
[MemProf] Allow the binary to specify the profile output filename
This will allow the output directory to be specified by a build time
option, similar to the directory specified for regular PGO profiles via
-fprofile-generate=. The memory profiling instrumentation pass will
set up the variable. This is the same mechanism used by the PGO
instrumentation and runtime.
Depends on D87120 and D89629.
Differential Revision: https://reviews.llvm.org/D89086
More information about the All-commits
mailing list