D39185: [llvm-dwarfdump] - Fix array out of bounds access crash.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 09:01:31 PDT 2017


>> Verifying .debug_abbrev...
>>  Verifying .debug_info Unit Header Chain...
>>  error: Units[1] - start offset: 0x00000020
>>  note: The length for this unit is too large for the .debug_info provided.
>>  note: The 16 bit unit header version is not valid.
>>  note: The address size is unsupported.
>>  Verifying .debug_info references...
>>  Errors detected.
>>  warning: DWARF compile unit extends beyond its bounds cu 0x00000000 at 0x0000002
>>  1'
>>  warning: DWARF compile unit extends beyond its bounds cu 0x00000000 at 0x0000002
>>  1'
>
>Uh.. that means we either have a bug in our DWARF backend or in the Verifier (probably the Verifier). That also needs to be fixed at some >point :-)

What is wrong with this part ? It's report an error as expected it seems ?

George.


More information about the llvm-commits mailing list