[dsymutil] Improve verbose output (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 8 Oct 2019 22:03:13 +0000 (22:03 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 8 Oct 2019 22:03:13 +0000 (22:03 +0000)
commita3f794e9b4225470b0035dea85f47ee4a2fa4013
treeb55066d578396f3e38b728fe1611cebad1369b33
parent5841e9af1dff8bfdf22ad9716ad9d0ae8d73dbd6
[dsymutil] Improve verbose output (NFC)

The verbose output for finding relocations assumed that we'd always dump
the DIE after (which starts with a newline) and therefore didn't include
one itself. However, this isn't always true, leading to garbled output.

This patch adds a newline to the verbose output and adds a line that
says that the DIE is being kept (which isn't obvious otherwise). It also
adds a 0x prefix to the relocations.

llvm-svn: 374123
llvm/test/tools/dsymutil/basic-linking.test
llvm/tools/dsymutil/DwarfLinker.cpp