[llvm] [NFC] Extract Printing portions of DWARFCFIProgram to new files (PR #143762)

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 11 17:49:15 PDT 2025


================
@@ -34,6 +37,7 @@ class CFIProgram {
 public:
   static constexpr size_t MaxOperands = 3;
   typedef SmallVector<uint64_t, MaxOperands> Operands;
+  friend CFIPrinter;
----------------
igorkudrin wrote:

Is it possible to refactor the code a bit more deeply so that the printer accesses only the public methods of the class?

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


More information about the llvm-commits mailing list