[llvm] [llvm-objdump] Add inlined function display support (PR #142246)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 5 01:31:03 PDT 2025


================
@@ -127,9 +208,9 @@ unsigned LiveVariablePrinter::findFreeColumn() {
 }
 
 void LiveVariablePrinter::dump() const {
-  for (const LiveVariable &LV : LiveVariables) {
-    dbgs() << LV.VarName << " @ " << LV.LocExpr.Range << ": ";
-    LV.print(dbgs(), MRI);
+  for (const auto &LE : LiveElements) {
----------------
jh7370 wrote:

Please replace `auto` with the actual type here: it's not obvious what the type is, so this harms readability.

https://github.com/llvm/llvm-project/pull/142246


More information about the llvm-commits mailing list