Enable dev tracing for production builds.

Code still guarded by UPB_TRACING_ENABLED

PiperOrigin-RevId: 645444695
pull/17205/head
Protobuf Team Bot 7 months ago committed by Copybara-Service
parent dd6e4adc19
commit a81c234bf5
  1. 5
      upb/port/def.inc

@ -345,11 +345,6 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#define UPB_DESC_MINITABLE(sym) &google__protobuf__##sym##_msg_init
#endif
#ifdef UPB_TRACING_ENABLED
#ifdef NDEBUG
error UPB_TRACING_ENABLED Tracing should be disabled in production builds
#endif
#endif
// Linker arrays combine elements from multiple translation units into a single
// array that can be iterated over at runtime.

Loading…
Cancel
Save