[PATCH] D38879: [llvm-dwarfdump] - Teach tool to parse DW_CFA_GNU_args_size.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 16 03:23:43 PDT 2017


grimar added a comment.

In https://reviews.llvm.org/D38879#896885, @aprantl wrote:

> Do you need to update the Verifier, too? Does llvm-dwarfdump -verify work on this input?


There is no errors for me when using `llvm-dwarfdump -verify`:

> Verifying debug_frame_GNU_args_size.s.tmp:	file format ELF32-i386
>  Verifying .debug_abbrev...
>  Verifying .debug_info Unit Header Chain...
>  warning: .debug_info is empty.
>  Verifying .debug_info references...
>  No errors.

I am not really familar with -verify option, but seems it verifies only few debug sections and
this object does not have any:

  Section Headers:
    [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
    [ 0]                   NULL            00000000 000000 000000 00      0   0  0
    [ 1] .strtab           STRTAB          00000000 000098 000029 00      0   0  1
    [ 2] .text             PROGBITS        00000000 000034 000000 00  AX  0   0  4
    [ 3] .eh_frame         PROGBITS        00000000 000034 00002c 00   A  0   0  4
    [ 4] .rel.eh_frame     REL             00000000 000090 000008 08      5   3  4
    [ 5] .symtab           SYMTAB          00000000 000060 000030 10      1   2  4


https://reviews.llvm.org/D38879





More information about the llvm-commits mailing list