[all-commits] [llvm/llvm-project] 2033c4: [SampleProfile] Remove ProfileHasAttribute paramet...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Tue Jul 14 18:57:33 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2033c4569af6ae3665a731dd276ea9795d531256
https://github.com/llvm/llvm-project/commit/2033c4569af6ae3665a731dd276ea9795d531256
Author: Kazu Hirata <kazu at google.com>
Date: 2026-07-14 (Tue, 14 Jul 2026)
Changed paths:
M llvm/include/llvm/ProfileData/SampleProfReader.h
M llvm/lib/ProfileData/SampleProfReader.cpp
Log Message:
-----------
[SampleProfile] Remove ProfileHasAttribute parameter from readFuncMetadata (NFC) (#208604)
This patch removes the ProfileHasAttribute parameter from
readFuncMetadata overloads.
Because ProfileHasAttribute is set once in readImpl during section
header parsing and never modified afterward, readFuncMetadata observes
the exact same immutable value regardless of whether it is passed as a
function parameter or read from the class member variable.
Assisted-by: Antigravity
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