[llvm] [SandboxVec] Add pass to create Regions from metadata. Generalize SandboxVec pass pipelines. (PR #112288)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 18:07:09 PDT 2024


================
@@ -43,7 +43,7 @@ class Pass {
   LLVM_DUMP_METHOD virtual void dump() const;
 #endif
   /// Similar to print() but adds a newline. Used for testing.
-  void printPipeline(raw_ostream &OS) const { OS << Name << "\n"; }
+  virtual void printPipeline(raw_ostream &OS) const { OS << Name << "\n"; }
----------------
vporpo wrote:

Shouldn't this be guarde by `#ifndef NDEBUG` ?

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


More information about the llvm-commits mailing list