summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-12-22 08:43:08 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-12-22 08:43:08 +0000
commit9efb0153f057008e828f393609ad8477c848316b (patch)
tree63db963a01fa7a54950cd3799e4750d11efe21f0 /llvm/lib/DebugInfo
parentc04d2bf22abee178dbd712fa922bfdbf485427fa (diff)
downloadbcm5719-llvm-9efb0153f057008e828f393609ad8477c848316b.tar.gz
bcm5719-llvm-9efb0153f057008e828f393609ad8477c848316b.zip
llvm-dwarfdump: Remove extraneous space between '(' and 'indexed'
When dumping string or address indexes llvm-svn: 349997
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp b/llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
index 90e8794c9d8..241f9a70603 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
@@ -370,7 +370,7 @@ void DWARFFormValue::dump(raw_ostream &OS, DIDumpOptions DumpOpts) const {
case DW_FORM_addrx3:
case DW_FORM_addrx4:
case DW_FORM_GNU_addr_index: {
- AddrOS << format(" indexed (%8.8x) address = ", (uint32_t)UValue);
+ AddrOS << format("indexed (%8.8x) address = ", (uint32_t)UValue);
if (U == nullptr)
OS << "<invalid dwarf unit>";
else if (Optional<SectionedAddress> A =
@@ -467,7 +467,7 @@ void DWARFFormValue::dump(raw_ostream &OS, DIDumpOptions DumpOpts) const {
case DW_FORM_strx4:
case DW_FORM_GNU_str_index:
if (DumpOpts.Verbose)
- OS << format(" indexed (%8.8x) string = ", (uint32_t)UValue);
+ OS << format("indexed (%8.8x) string = ", (uint32_t)UValue);
dumpString(OS);
break;
case DW_FORM_GNU_strp_alt:
OpenPOWER on IntegriCloud