|
18 | 18 |
|
19 | 19 | // DWARF unwind instructions
|
20 | 20 | enum {
|
21 |
| - DW_CFA_nop = 0x0, |
22 |
| - DW_CFA_set_loc = 0x1, |
23 |
| - DW_CFA_advance_loc1 = 0x2, |
24 |
| - DW_CFA_advance_loc2 = 0x3, |
25 |
| - DW_CFA_advance_loc4 = 0x4, |
26 |
| - DW_CFA_offset_extended = 0x5, |
27 |
| - DW_CFA_restore_extended = 0x6, |
28 |
| - DW_CFA_undefined = 0x7, |
29 |
| - DW_CFA_same_value = 0x8, |
30 |
| - DW_CFA_register = 0x9, |
31 |
| - DW_CFA_remember_state = 0xA, |
32 |
| - DW_CFA_restore_state = 0xB, |
33 |
| - DW_CFA_def_cfa = 0xC, |
34 |
| - DW_CFA_def_cfa_register = 0xD, |
35 |
| - DW_CFA_def_cfa_offset = 0xE, |
36 |
| - DW_CFA_def_cfa_expression = 0xF, |
37 |
| - DW_CFA_expression = 0x10, |
| 21 | + DW_CFA_nop = 0x0, |
| 22 | + DW_CFA_set_loc = 0x1, |
| 23 | + DW_CFA_advance_loc1 = 0x2, |
| 24 | + DW_CFA_advance_loc2 = 0x3, |
| 25 | + DW_CFA_advance_loc4 = 0x4, |
| 26 | + DW_CFA_offset_extended = 0x5, |
| 27 | + DW_CFA_restore_extended = 0x6, |
| 28 | + DW_CFA_undefined = 0x7, |
| 29 | + DW_CFA_same_value = 0x8, |
| 30 | + DW_CFA_register = 0x9, |
| 31 | + DW_CFA_remember_state = 0xA, |
| 32 | + DW_CFA_restore_state = 0xB, |
| 33 | + DW_CFA_def_cfa = 0xC, |
| 34 | + DW_CFA_def_cfa_register = 0xD, |
| 35 | + DW_CFA_def_cfa_offset = 0xE, |
| 36 | + DW_CFA_def_cfa_expression = 0xF, |
| 37 | + DW_CFA_expression = 0x10, |
38 | 38 | DW_CFA_offset_extended_sf = 0x11,
|
39 |
| - DW_CFA_def_cfa_sf = 0x12, |
40 |
| - DW_CFA_def_cfa_offset_sf = 0x13, |
41 |
| - DW_CFA_val_offset = 0x14, |
42 |
| - DW_CFA_val_offset_sf = 0x15, |
43 |
| - DW_CFA_val_expression = 0x16, |
44 |
| - DW_CFA_advance_loc = 0x40, // high 2 bits are 0x1, lower 6 bits are delta |
45 |
| - DW_CFA_offset = 0x80, // high 2 bits are 0x2, lower 6 bits are register |
46 |
| - DW_CFA_restore = 0xC0, // high 2 bits are 0x3, lower 6 bits are register |
| 39 | + DW_CFA_def_cfa_sf = 0x12, |
| 40 | + DW_CFA_def_cfa_offset_sf = 0x13, |
| 41 | + DW_CFA_val_offset = 0x14, |
| 42 | + DW_CFA_val_offset_sf = 0x15, |
| 43 | + DW_CFA_val_expression = 0x16, |
| 44 | + DW_CFA_advance_loc = 0x40, // high 2 bits are 0x1, lower 6 bits are delta |
| 45 | + DW_CFA_offset = 0x80, // high 2 bits are 0x2, lower 6 bits are register |
| 46 | + DW_CFA_restore = 0xC0, // high 2 bits are 0x3, lower 6 bits are register |
47 | 47 |
|
48 | 48 | // GNU extensions
|
49 |
| - DW_CFA_GNU_window_save = 0x2D, |
50 |
| - DW_CFA_GNU_args_size = 0x2E, |
| 49 | + DW_CFA_GNU_window_save = 0x2D, |
| 50 | + DW_CFA_GNU_args_size = 0x2E, |
51 | 51 | DW_CFA_GNU_negative_offset_extended = 0x2F,
|
52 | 52 |
|
53 | 53 | // AARCH64 extensions
|
54 | 54 | DW_CFA_AARCH64_negate_ra_state_with_pc = 0x2C,
|
55 |
| - DW_CFA_AARCH64_negate_ra_state = 0x2D |
| 55 | + DW_CFA_AARCH64_negate_ra_state = 0x2D |
56 | 56 | };
|
57 | 57 |
|
58 |
| - |
59 | 58 | // FSF exception handling Pointer-Encoding constants
|
60 | 59 | // Used in CFI augmentation by GCC
|
61 | 60 | enum {
|
|
0 commit comments