[Lldb-commits] [lldb] [llvm] Annotate disassembly with register‐resident variable locations (PR #147460)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 16 05:54:40 PDT 2025


================
@@ -158,6 +158,7 @@ class DWARFExpression {
   }
 
   void DumpLocation(Stream *s, lldb::DescriptionLevel level, ABI *abi) const;
+  void DumpLocationWithOptions(Stream *s, lldb::DescriptionLevel level, ABI *abi, llvm::DIDumpOptions options) const;
----------------
adrian-prantl wrote:

why not have one version with a default argument?
```
  void DumpLocationWithOptions(Stream *s, lldb::DescriptionLevel level, ABI *abi, llvm::DIDumpOptions options = {}) const;
```

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


More information about the lldb-commits mailing list