[all-commits] [llvm/llvm-project] f7976e: [llvm-profgen] Add switch to allow use of first lo...
WenleiHe via All-commits
all-commits at lists.llvm.org
Mon Nov 15 19:02:44 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f7976edc1ec48ae9f96bcc7524ae02373d126869
https://github.com/llvm/llvm-project/commit/f7976edc1ec48ae9f96bcc7524ae02373d126869
Author: Wenlei He <aktoon at gmail.com>
Date: 2021-11-15 (Mon, 15 Nov 2021)
Changed paths:
M llvm/test/tools/llvm-profgen/inline-cs-pseudoprobe.test
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.h
Log Message:
-----------
[llvm-profgen] Add switch to allow use of first loadable segment for calculating offset
Adding `-use-loadable-segment-as-base` to allow use of first loadable segment for calculating offset. By default first executable segment is used for calculating offset. The switch helps compatibility with unsymbolized profile generated from older tools.
Differential Revision: https://reviews.llvm.org/D113727
More information about the All-commits
mailing list