[llvm] [yaml2obj][COFF] Add BBAddrMap support to yaml2coff (PR #224504)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 01:27:18 PDT 2026
================
@@ -692,18 +692,22 @@ void MappingTraits<COFFYAML::Section>::mapping(IO &IO, COFFYAML::Section &Sec) {
IO.mapOptional("VirtualSize", Sec.Header.VirtualSize, 0U);
IO.mapOptional("Alignment", Sec.Alignment, 0U);
- // If this is a .debug$S .debug$T .debug$P, or .debug$H section parse the
- // semantic representation of the symbols/types. If it is any other kind
- // of section, just deal in raw bytes.
+ // If this is a .debug$S .debug$T .debug$P, .debug$H, or .llvm_bb_addr_map
+ // section parse the semantic representation of its contents. If it is any
+ // other kind of section, just deal in raw bytes.
----------------
jh7370 wrote:
I reckon it's time to drop the section names from this comment. Probably something along the lines of "If this is a section with a semantic representation, parse that representation. Otherwise, just deal in raw bytes."
https://github.com/llvm/llvm-project/pull/224504
More information about the llvm-commits
mailing list