[llvm] [llvm-objdump] Add inlined function display support (PR #142246)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 6 18:12:52 PDT 2025
================
@@ -336,6 +425,24 @@ void LiveVariablePrinter::printAfterInst(formatted_raw_ostream &OS) {
}
}
+void LiveVariablePrinter::printStartLine(formatted_raw_ostream &OS,
+ object::SectionedAddress Addr) {
+ // Print a line to idenfity the start of an inlined function if line format
+ // is specified.
+ if (DbgInlinedFunctions == DVLine)
+ for (const auto &LE : LiveElements)
+ LE->printElementLine(OS, Addr, false);
+}
+
+void LiveVariablePrinter::printEndLine(formatted_raw_ostream &OS,
+ object::SectionedAddress Addr) {
+ // Print a line to idenfity the end of an inlined function if line format is
+ // specified.
+ if (DbgInlinedFunctions == DVLine)
+ for (const auto &LE : LiveElements)
----------------
gulfemsavrun wrote:
Done.
https://github.com/llvm/llvm-project/pull/142246
More information about the llvm-commits
mailing list