[Lldb-commits] [lldb] r367441 - Don't crash when pass by value struct has no definition.

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 5 11:20:40 PDT 2019



> On Aug 5, 2019, at 11:11 AM, <paul.robinson at sony.com> <paul.robinson at sony.com> wrote:
> 
>> I also tried to obj2yaml the good DWARF and change it, but once you
>> add bytes all of the section sizes and offsets are off so that was
>> not very fruitful, so I ran into errors when trying to convert the
>> yaml back to and ELF file.
>> 
>> Greg
> 
> Yet another case where a "DWARF assembler" would be useful.

Yeah, that is why I made the DWARFGenerator class in llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp so I can hand craft DWARF where I can change offsets and move stuff around. It doesn't create an ELF file with section contents for .text or anything though.


> --paulr
> 



More information about the lldb-commits mailing list