[llvm] Sketch of build and code changes for llvm shared library build using explicit visibility annotations (PR #96630)

Thomas Fransham via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 06:40:13 PDT 2024


================
@@ -1080,6 +1080,7 @@ END_TWO_BYTE_PACK()
   void printrWithDepth(raw_ostream &O, const SelectionDAG *G = nullptr,
                        unsigned depth = 100) const;
 
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
----------------
fsfod wrote:

I also found SystemZAddressingMode was calling one these functions outside of a debug build, but the only use was indirectly in a LLVM_DEBUG macro.

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


More information about the llvm-commits mailing list