[PATCH] D81164: [DebugInfo] Fix printing of unrecognised standard opcodes

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 08:12:08 PDT 2020


jhenderson created this revision.
jhenderson added reviewers: dblaikie, probinson, ikudrin, aprantl, JDevlieghere, MaskRay, labath.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

The verbose printing of unrecognised standard opcodes was broken in multiple ways (additional blank lines, a closing parenthesis without opening parenthesis and so on). This patch fixes it, and makes the output more consistent with other opcodes.

Depends on D81102 <https://reviews.llvm.org/D81102> (it might be possible to avoid the dependency by splitting off some of the test changes from D81102 <https://reviews.llvm.org/D81102>, but I haven't done that for convenience).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81164

Files:
  llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81164.268469.patch
Type: text/x-patch
Size: 8424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200604/b85dffe3/attachment.bin>


More information about the llvm-commits mailing list