We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dadb31 commit fcedf0bCopy full SHA for fcedf0b
stacksize/dwarf.go
@@ -207,6 +207,16 @@ func (fi *frameInfo) exec(bytecode []byte) ([]frameInfoLine, error) {
207
switch lowBits {
208
case 0: // DW_CFA_nop
209
// no operation
210
+ case 0x02: // DW_CFA_advance_loc1
211
+ // Very similar to DW_CFA_advance_loc but allows for a slightly
212
+ // larger range.
213
+ offset, err := r.ReadByte()
214
+ if err != nil {
215
+ return nil, err
216
+ }
217
+ fi.loc += uint64(offset) * fi.cie.codeAlignmentFactor
218
+ entries = append(entries, fi.newLine())
219
+ // TODO: DW_CFA_advance_loc2 etc
220
case 0x07: // DW_CFA_undefined
221
// Marks a single register as undefined. This is used to stop
222
// unwinding in tinygo_startTask using:
0 commit comments