diff --git a/tools/llvm-pdbdump/CompilandDumper.cpp b/tools/llvm-pdbdump/CompilandDumper.cpp index 5ec37cbbb5a..05141818660 100644 --- a/tools/llvm-pdbdump/CompilandDumper.cpp +++ b/tools/llvm-pdbdump/CompilandDumper.cpp @@ -76,6 +76,15 @@ void CompilandDumper::start(const PDBSymbolCompiland &Symbol, if (LineStart != LineEnd) WithColor(Printer, StatementColor).get() << " - " << LineEnd; + uint32_t ColumnStart = Line->getColumnNumber(); + uint32_t ColumnEnd = Line->getColumnNumberEnd(); + if (ColumnStart != 0 || ColumnEnd != 0) { + Printer << ", Column: "; + WithColor(Printer, StatementColor).get() << ColumnStart; + if (ColumnEnd != ColumnStart) + WithColor(Printer, StatementColor).get() << " - " << ColumnEnd; + } + Printer << ", Address: "; if (Line->getLength() > 0) { uint64_t AddrStart = Line->getVirtualAddress();