"maximum_operations_per_instruction" is a field that was added to .debug_line header in DWARF4.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks good; one small suggestion, otherwise please commit.
source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp | ||
---|---|---|
427 | Please add an else block here and assign a value of 1 to maximum_operations_per_instruction. If anyone uses this in the line table parser (unlikely unless we're adding Itanium support or something), we should avoid having a garbage value for older DWARF files. |
Comment Actions
Thanks, Jason!
Just running a few tests over here. If it comes up clean, I'll get it in.
Comment Actions
$ svn commit Sending source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp Sending source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h Transmitting file data .. Committed revision 218641.
Please add an else block here and assign a value of 1 to maximum_operations_per_instruction. If anyone uses this in the line table parser (unlikely unless we're adding Itanium support or something), we should avoid having a garbage value for older DWARF files.