[PATCH] D81469: [DebugInfo/DWARF] - Report .eh_frame sections of version != 1.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 01:15:00 PDT 2020


grimar added a comment.

In D81469#2085356 <https://reviews.llvm.org/D81469#2085356>, @MaskRay wrote:

> In D81469#2084492 <https://reviews.llvm.org/D81469#2084492>, @grimar wrote:
>
> > One more way to have a single test right now is to use yaml2obj instead of llvm-mc.
> >
> > With it I'll need to specify a binary blob for the section content though.
> >  (yaml2obj doesn't fully support the .eh_frame section yet I believe)
> >
> > I.e. it will look like:
> >
> >   Sections:
> >     - Name: .eh_frame
> >       Type: SHT_PROGBITS
> >   ## A comment describing the content.
> >       Content: "001122334455"
> >
> >
> > Should I do it?
>
>
> Can you just use `.byte` `.long` to construct the content of .eh_frame? It will be more reasonable than hex pairs in YAML.


This is what this patch already does I think?


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

https://reviews.llvm.org/D81469





More information about the llvm-commits mailing list