[clang] [clang][bytecode][NFC] Add Function::dump() taking no arguments (PR #186819)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 2 19:22:39 PDT 2026


================
@@ -327,7 +327,8 @@ class Function final {
 
 public:
   /// Dumps the disassembled bytecode to \c llvm::errs().
-  void dump(CodePtr PC = {}) const;
+  void dump() const { dump({}); }
----------------
shafik wrote:

Maybe worth a comment that this is a work around for reliable usage in LLDB?

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


More information about the cfe-commits mailing list