[DebugInfo] Fix printing of unrecognised standard opcodes
authorJames Henderson <james.henderson@sony.com>
Wed, 27 May 2020 13:18:36 +0000 (14:18 +0100)
committerJames Henderson <james.henderson@sony.com>
Tue, 9 Jun 2020 13:32:20 +0000 (14:32 +0100)
commit3b7ec64d59748765990ed99716034ab8d5533673
treea4c72d348fbed4e5bfc626582f4dbd69058c6121
parente3547ade68232d74bffd0e126cc0ea0b3970fbf7
[DebugInfo] Fix printing of unrecognised standard opcodes

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.
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp