diff options
author | Mingming Liu <mingmingl@google.com> | 2025-10-13 11:26:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-13 18:26:16 +0000 |
commit | e313bc834ea8c511e1665c738a33cb2eee4f94d8 (patch) | |
tree | ea37fbde0d7aac962e729158b70e1c6cdacf9c1d /llvm/lib/Support/SourceMgr.cpp | |
parent | 068e1796bac5229210f57862862e8995d4b6f009 (diff) | |
download | llvm-e313bc834ea8c511e1665c738a33cb2eee4f94d8.zip llvm-e313bc834ea8c511e1665c738a33cb2eee4f94d8.tar.gz llvm-e313bc834ea8c511e1665c738a33cb2eee4f94d8.tar.bz2 |
[StaticDataLayout] Factor out a helper function for section prefix eligibility and use it in both optimizer and codegen (#162348)
This change introduces new helper functions to check if a global
variable is eligible for section prefix annotation.
This shared logic is used by both MemProfUse and StaticDataSplitter to
avoid annotating ineligible variables.
This is the 2nd patch as a split of
https://github.com/llvm/llvm-project/pull/155337
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions