[all-commits] [llvm/llvm-project] eeeaad: Add !metadata_section_kind global variable metadat...
Orlando Cazalet-Hyams via All-commits
all-commits at lists.llvm.org
Fri Jul 24 07:08:17 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eeeaad979cc68b19bdd3ed27db579d2f8974f3a8
https://github.com/llvm/llvm-project/commit/eeeaad979cc68b19bdd3ed27db579d2f8974f3a8
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2026-07-24 (Fri, 24 Jul 2026)
Changed paths:
M llvm/docs/LangRef.md
M llvm/include/llvm/IR/FixedMetadataKinds.def
M llvm/lib/Target/TargetLoweringObjectFile.cpp
A llvm/test/CodeGen/X86/metadata_section_kind.ll
Log Message:
-----------
Add !metadata_section_kind global variable metadata (#211524)
Similar to !exclude in that this attempts to guide section + flag
choices in a generic/abstract way.
`!exclude` tells LLVM to use the generic `SectionKind::Exclude` for the
globals. Likewise, `!metadata_section_kind` tells LLVM to use
`SectionKind::Metadata`.
The added docs go into a little more detail.
This is needed for the dynamic debugging feature, otherwise there's no
way to avoid `SHF_EXCLUDE` or `SHF_ALLOC` flags being added to the
section without special handling based on its name. We've moved to using
a new section type for dynamic debugging and we don't want to rely on
the name, which may be omitted.
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