llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Timm Baeder (tbaederr)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/133062.diff


1 Files Affected:

- (modified) clang/lib/AST/ByteCode/Disasm.cpp (+8) 


``````````diff
diff --git a/clang/lib/AST/ByteCode/Disasm.cpp 
b/clang/lib/AST/ByteCode/Disasm.cpp
index 85fc30482b003..12c434029562d 100644
--- a/clang/lib/AST/ByteCode/Disasm.cpp
+++ b/clang/lib/AST/ByteCode/Disasm.cpp
@@ -383,11 +383,19 @@ LLVM_DUMP_METHOD void Block::dump(llvm::raw_ostream &OS) 
const {
   for (const Pointer *P = Pointers; P; P = P->Next) {
     ++NPointers;
   }
+  OS << "  EvalID: " << EvalID << '\n';
+  OS << "  DeclID: ";
+  if (DeclID)
+    OS << *DeclID << '\n';
+  else
+    OS << "-\n";
   OS << "  Pointers: " << NPointers << "\n";
   OS << "  Dead: " << IsDead << "\n";
   OS << "  Static: " << IsStatic << "\n";
   OS << "  Extern: " << IsExtern << "\n";
   OS << "  Initialized: " << IsInitialized << "\n";
+  OS << "  Weak: " << IsWeak << "\n";
+  OS << "  Dynamic: " << IsDynamic << "\n";
 }
 
 LLVM_DUMP_METHOD void EvaluationResult::dump() const {

``````````

</details>


https://github.com/llvm/llvm-project/pull/133062
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to