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