This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo]Print correct value for special opcode address increment
ClosedPublic

Authored by jhenderson on Feb 4 2019, 9:09 AM.

Details

Summary

The wrong variable was being used when printing the address increment in verbose output of .debug_line. This patch fixes this.

Diff Detail

Repository
rL LLVM

Event Timeline

jhenderson created this revision.Feb 4 2019, 9:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2019, 9:09 AM
JDevlieghere added inline comments.Feb 4 2019, 12:41 PM
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
820 ↗(On Diff #185063)

We should remove the cast.

jhenderson updated this revision to Diff 185274.Feb 5 2019, 3:45 AM

Remove unnecessary cast.

JDevlieghere accepted this revision.Feb 5 2019, 2:56 PM

LGTM, Thanks!

This revision is now accepted and ready to land.Feb 5 2019, 2:56 PM
This revision was automatically updated to reflect the committed changes.