[PATCH] D78782: Add .debug_ranges support to the DWARF YAML.
Greg Clayton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 4 20:27:53 PDT 2020
clayborg added a comment.
>> if I hand edit the YAML, section sizes change and all of the data is off since and there are the existing yaml2obj ignores a different AddrSize
> I didn't quite follow this - could you explain that in more detail/other words? Specifically, yes, it would be difficult/annoying to hand-craft such an input, but what were the particular problems you hit when attempting to do so?
I meant if I take an example file with 2 DWARF compile units and then manually try to edit the YAML to set the compile unit addr size to 8 on one of them (where they were both 4 to begin with, then the section sizes end up being wrong and other errors can occur when trying to obj2yaml the modified YAML. Very common stuff where the YAML can't be heavily modified or changed without things failing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78782/new/
https://reviews.llvm.org/D78782
More information about the llvm-commits
mailing list