[PATCH] D129378: [LLD][COFF] Ignore DEBUG_S_XFGHASH_TYPE/VIRTUAL
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 11 16:00:12 PDT 2022
rnk added a comment.
We spent some effort to make clang's assembly output somewhat readable. You should be able to adapt it to manually add one of these subsections and make a test case. In this example, see the subsection labels and .long directives:
https://gcc.godbolt.org/z/9o5Tra9W3
You can add subsections to an existing .debug$S section with these directives:
.long 0xFF
.long .Lmyend0-.Lmybeg0 # Subsection size
.Lmybeg0:
.fill 16 # Some data, just to make it non-empty
.Lmyend0:
.p2align 2
.long 0x100
.long .Lmyend1-.Lmybeg1 # Subsection size
.Lmybeg1:
.fill 16 # Some data, just to make it non-empty
.Lmyend1:
.p2align 2
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129378/new/
https://reviews.llvm.org/D129378
More information about the llvm-commits
mailing list