[PATCH] D106940: Fix test for debug dir presence

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 2 03:43:06 PDT 2021


jhenderson added a comment.

In D106940#2918217 <https://reviews.llvm.org/D106940#2918217>, @alfonsosanchezbeato wrote:

> However, that generates a binary where all directory entries are filled and `NumberOfRvaAndSize` is 16, and I need it to be 6 in the binary. Apparently that is fixed in the yaml2obj code, and it is not possible to set `NumberOfRvaAndSize` in the yaml either. Any suggestions on how can I proceed to obtain a binary for the test?

Probably it requries a yaml2obj change - of the formats supported by yaml2obj, I think COFF has had the least attention, and therefore there are likely features that are missing (in ELF, for example, we can specify overrides for pretty much any value you can find in the object). I suggest reaching out to people who have worked on COFF parts of yaml2obj to see if they'd be able to make a change (or make it yourself, if you're comfortable doing so).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106940/new/

https://reviews.llvm.org/D106940



More information about the llvm-commits mailing list