]> granicus.if.org Git - llvm/commit
[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)
commiteaa022e28502c6a58cbe3d20cb4cc19c9e03ede1
tree84163e925f2814f679c26518eb5061ea88d72cb6
parentf17b0c49ca656b2887f4e077766cdc37dc8c2835
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374123 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/dsymutil/basic-linking.test
tools/dsymutil/DwarfLinker.cpp