[llvm] Added --report=debugger option to llvm-debuginfo-analyzer (PR #159853)
Carlos Alberto Enciso via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 29 08:38:47 PDT 2025
================
@@ -657,18 +670,21 @@ void LVLocationSymbol::printExtra(raw_ostream &OS, bool Full) const {
// Print location entries.
if (Full && Entries) {
- bool CodeViewLocation = getParentSymbol()->getHasCodeViewLocation();
- std::stringstream Stream;
- std::string Leading;
- for (LVOperation *Operation : *Entries) {
- Stream << Leading
- << (CodeViewLocation ? Operation->getOperandsCodeViewInfo()
- : Operation->getOperandsDWARFInfo());
- Leading = ", ";
- }
+ std::string Str;
+ raw_string_ostream Stream(Str);
+ printLocations(Stream);
printAttributes(OS, Full, "{Entry} ", const_cast<LVLocationSymbol *>(this),
StringRef(Stream.str()),
/*UseQuotes=*/false,
/*PrintRef=*/false);
}
}
+
+void LVLocationSymbol::printDebugger(raw_ostream &OS, LVLevel Indent) const {
+ LVSymbol *Sym = getParentSymbol();
----------------
CarlosAlbertoEnciso wrote:
For consistency: Instead of `Sym` use `Symbol`
https://github.com/llvm/llvm-project/pull/159853
More information about the llvm-commits
mailing list