[PATCH] D41762: [DWARF] Incorrect prologue end line record.
Carlos Alberto Enciso via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 25 03:29:44 PST 2018
CarlosAlbertoEnciso added a comment.
Hi Adrian & Quentin,
These are the line records output (llvm-dwarfdump):
First test case: -enable-shrink-wrap=false
Address Line Column File ISA Discriminator Flags
------------------ ------ ------ ------ --- ------------- -------------
0x0000000000000000 4 0 1 0 0 is_stmt
0x0000000000000003 6 9 1 0 0 is_stmt prologue_end
0x0000000000000005 6 7 1 0 0
0x0000000000000007 7 9 1 0 0 is_stmt
0x0000000000000010 8 12 1 0 0 is_stmt
0x0000000000000017 11 3 1 0 0 is_stmt
0x0000000000000019 11 3 1 0 0 is_stmt end_sequence
First test case: -enable-shrink-wrap=true
Address Line Column File ISA Discriminator Flags
------------------ ------ ------ ------ --- ------------- -------------
0x0000000000000000 4 0 1 0 0 is_stmt
0x0000000000000002 6 9 1 0 0 is_stmt prologue_end
0x0000000000000004 6 7 1 0 0
0x0000000000000007 7 9 1 0 0 is_stmt
0x0000000000000010 8 12 1 0 0 is_stmt
0x000000000000001b 11 3 1 0 0 is_stmt
0x000000000000001c 11 3 1 0 0 is_stmt end_sequence
Second test case: -enable-shrink-wrap=false
Address Line Column File ISA Discriminator Flags
------------------ ------ ------ ------ --- ------------- -------------
0x0000000000000000 5 0 1 0 0 is_stmt
0x0000000000000003 7 9 1 0 0 is_stmt prologue_end
0x0000000000000005 7 7 1 0 0
0x0000000000000007 8 9 1 0 0 is_stmt
0x000000000000000b 9 24 1 0 0 is_stmt
0x0000000000000015 9 12 1 0 0
0x000000000000001c 12 3 1 0 0 is_stmt
0x000000000000001e 12 3 1 0 0 is_stmt end_sequence
Second test case: -enable-shrink-wrap=true
Address Line Column File ISA Discriminator Flags
------------------ ------ ------ ------ --- ------------- -------------
0x0000000000000000 5 0 1 0 0 is_stmt
0x0000000000000002 7 9 1 0 0 is_stmt prologue_end
0x0000000000000004 7 7 1 0 0
0x0000000000000007 8 9 1 0 0 is_stmt
0x000000000000000b 9 24 1 0 0 is_stmt
0x0000000000000015 9 12 1 0 0
0x0000000000000020 12 3 1 0 0 is_stmt
0x0000000000000021 12 3 1 0 0 is_stmt end_sequence
Thanks
https://reviews.llvm.org/D41762
More information about the llvm-commits
mailing list