[libunwind] [libunwind] introduce _LIBUNWIND_TRACE_DWARF_EVAL for increased baremetal friendliness (PR #72040)

Michael Kenzel via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 11 16:28:35 PST 2023


================
@@ -223,6 +223,21 @@
     } while (0)
 #endif
 
+#define _LIBUNWIND_TRACING_DWARF_EVAL (0)
----------------
michael-kenzel wrote:

In fact, since this is more some kind of internal feature, maybe it shouldn't be in the config header at all but rather just defined and undef'ed again inside the original function? Though having all the stuff to do with logging defined in a similar fashion in one place is probably preferable…

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


More information about the cfe-commits mailing list