[llvm] [HashRecognize] Introduce dump methods for debug (PR #142748)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 4 03:29:16 PDT 2025


================
@@ -34,7 +34,11 @@ using ErrBits = std::tuple<KnownBits, unsigned, bool>;
 
 /// A custom std::array with 256 entries, that also has a print function.
 struct CRCTable : public std::array<APInt, 256> {
-  void print(raw_ostream &OS) const;
+  LLVM_DUMP_METHOD void print(raw_ostream &OS) const;
----------------
nikic wrote:

I don't think print() is usually marked with LLVM_DUMP_METHOD?

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


More information about the llvm-commits mailing list