[llvm] [llvm-profgen][SPGO] Support profiles with multiple concurrent processes (PR #169353)
Wei Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 9 16:47:26 PST 2025
================
@@ -396,19 +402,31 @@ class ProfiledBinary {
StringRef getPath() const { return Path; }
StringRef getName() const { return llvm::sys::path::filename(Path); }
- uint64_t getBaseAddress() const { return BaseAddress; }
- void setBaseAddress(uint64_t Address) { BaseAddress = Address; }
+ uint64_t getPIDBaseAddress(int32_t PID) const {
----------------
apolloww wrote:
I think we can keep function name unchanged.
https://github.com/llvm/llvm-project/pull/169353
More information about the llvm-commits
mailing list