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:06:03 PDT 2017


>> On Oct 24, 2017, at 9:01 AM, George Rimar <grimar at accesssoftek.com> wrote:
>
>> What is wrong with this part ? It's report an error as expected it seems ?
>
>Right, I think I overlooked this part:
>
>  .long  0     # DW_AT_high_pc [DW_FORM_data4] (0x00000000)
>
>I mistakenly thought that the CU header was generated by LLVM rather than being hardcoded in assembler.
>
>-- adrian
>>
>> George.

Yeah, I am hardcoding a lot of things in DWARF testcases last time, that allows to reduce them a lot.

George.


More information about the llvm-commits mailing list