Open jh7370 opened 4 years ago
Actually, I was writing tests for some basic llvm-dwarfdump switches (see D71276), and as part of that was exercising a few odd things (like unknown values for forms/attributes/tags). During this, I stumbled on a few issues. Given that I was aiming to test that the normal features were actually working, and only incidentally testing other parts, fuzzing wouldn't be the right approach here (but could be for other cases).
Incidentally, my impression is that you are hand-writing tests for bogus inputs. Wouldn't fuzzing be more efficient?
I think this should be changed to:
: 03 DW_LNS_advance_line ( )
IMO, verbose mode in general should show operands as they are in the line-number program, so I agree. FTR, DW_LNS_advance_line takes a signed LEB so there should be a +/- in front of the value.
Extended Description
Currently, when llvm-dwarfdump prints the debug line table with --verbose, any DW_LNS_advance_line opcodes are printed as: