[PATCH] D129378: [LLD][COFF] Ignore DEBUG_S_XFGHASH_TYPE/VIRTUAL
Tobias Hieta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 7 06:09:31 PDT 2022
thieta added a comment.
In D129378#3643749 <https://reviews.llvm.org/D129378#3643749>, @rnk wrote:
> 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
Thanks - this put me on the right path and I was able to basically copy the pdb-unknown-subsection test and adapt it to check for the XFG subsections.
Have a look at this if you can please - I would like to include this in the 15.x release if possible.
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