disable-odr-violation.patch 624 B

1234567891011
  1. --- contrib/libs/clang18-rt/lib/asan/asan_flags.inc (index)
  2. +++ contrib/libs/clang18-rt/lib/asan/asan_flags.inc (working tree)
  3. @@ -147,7 +147,7 @@ ASAN_FLAG(bool, detect_container_overflow, true,
  4. "If true, honor the container overflow annotations. See "
  5. "https://github.com/google/sanitizers/wiki/"
  6. "AddressSanitizerContainerOverflow")
  7. -ASAN_FLAG(int, detect_odr_violation, 2,
  8. +ASAN_FLAG(int, detect_odr_violation, 0,
  9. "If >=2, detect violation of One-Definition-Rule (ODR); "
  10. "If ==1, detect ODR-violation only if the two variables "
  11. "have different sizes")