Add a comment to remind ASAN users to compile interpreters with ASAN as well.

PiperOrigin-RevId: 471898444
pull/13171/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent 111249d085
commit 8827a09490
  1. 6
      upb/port_def.inc

@ -241,7 +241,11 @@
#undef UPB_FASTTABLE_SUPPORTED
/* ASAN poisoning (for arena) *************************************************/
/* ASAN poisoning (for arena).
* If using UPB from an interpreted language like Ruby, a build of the
* interpreter compiled with ASAN enbabled must be used in order to get sane and
* expected behavior.
*/
#if defined(__SANITIZE_ADDRESS__)
#define UPB_ASAN 1

Loading…
Cancel
Save