-
Notifications
You must be signed in to change notification settings - Fork 820
DWARF: high_pc computation #2595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c377ef8
6df8a92
e1bcd0a
1513554
d395bb2
5394975
9c09438
48255c1
6fab0e5
54ffc2a
017443f
62e12e4
0392c06
61ac3db
00e079a
5fd73e9
e0c5a7c
ad17e8c
8e47d78
960db12
2ee0669
40188a5
89d14f0
2401f66
312fce0
4e37151
64abe3b
65b3f31
fcdf809
8b496d7
bd388c4
6dc1ea7
bc17baf
bb271c9
de17914
3f5edcc
a89d299
5b9180a
6fa4189
ee3cd5c
05c7fdf
0b22854
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2534,7 +2534,7 @@ Abbrev table for offset: 0x00000000 | |
|
|
||
| 0x00000082: DW_TAG_subprogram [10] * | ||
| DW_AT_low_pc [DW_FORM_addr] (0x0000000000000006) | ||
| DW_AT_high_pc [DW_FORM_data4] (0x00000397) | ||
| DW_AT_high_pc [DW_FORM_data4] (0x00000383) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess this means that Binaryen shrank the function? Is that expected for this test?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, it shrinks it a little even without running optimizations, due to LEBs being compressed (which clang doesn't do in all places). I verified that size is correct. |
||
| DW_AT_frame_base [DW_FORM_exprloc] (DW_OP_WASM_location 0x1 +0, DW_OP_stack_value) | ||
| DW_AT_GNU_all_call_sites [DW_FORM_flag_present] (true) | ||
| DW_AT_linkage_name [DW_FORM_strp] ( .debug_str[0x00000166] = "_Z15fannkuch_workerPv") | ||
|
|
@@ -2818,7 +2818,7 @@ Abbrev table for offset: 0x00000000 | |
|
|
||
| 0x0000023b: DW_TAG_subprogram [23] * | ||
| DW_AT_low_pc [DW_FORM_addr] (0x000000000000038b) | ||
| DW_AT_high_pc [DW_FORM_data4] (0x00000342) | ||
| DW_AT_high_pc [DW_FORM_data4] (0x000002fb) | ||
| DW_AT_frame_base [DW_FORM_exprloc] (DW_OP_WASM_location 0x0 +2, DW_OP_stack_value) | ||
| DW_AT_GNU_all_call_sites [DW_FORM_flag_present] (true) | ||
| DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000018c] = "main") | ||
|
|
@@ -2851,7 +2851,7 @@ Abbrev table for offset: 0x00000000 | |
| 0x00000278: DW_TAG_inlined_subroutine [24] * | ||
| DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x01a8 => {0x000001a8} "_ZL8fannkuchi") | ||
| DW_AT_low_pc [DW_FORM_addr] (0x00000000000003c6) | ||
| DW_AT_high_pc [DW_FORM_data4] (0x000002c8) | ||
| DW_AT_high_pc [DW_FORM_data4] (0x0000026d) | ||
| DW_AT_call_file [DW_FORM_data1] ("/usr/local/google/home/azakai/Dev/emscripten/tests/fannkuch.cpp") | ||
| DW_AT_call_line [DW_FORM_data1] (159) | ||
| DW_AT_call_column [DW_FORM_data1] (0x29) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.