| Index: build/config/sanitizers/BUILD.gn
|
| diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn
|
| index 8c357cb296adba4153c1e217fc3343c9741b02a6..d853950b2911a10d85f455e8cb4525817deee0d0 100644
|
| --- a/build/config/sanitizers/BUILD.gn
|
| +++ b/build/config/sanitizers/BUILD.gn
|
| @@ -325,6 +325,12 @@ config("ubsan_flags") {
|
| }
|
| }
|
|
|
| +config("ubsan_no_recover") {
|
| + if (is_ubsan_no_recover) {
|
| + cflags = [ "-fno-sanitize-recover=undefined" ]
|
| + }
|
| +}
|
| +
|
| config("ubsan_security_flags") {
|
| if (is_ubsan_security) {
|
| ubsan_blacklist_path =
|
| @@ -357,6 +363,7 @@ all_sanitizer_configs = [
|
| ":msan_flags",
|
| ":tsan_flags",
|
| ":ubsan_flags",
|
| + ":ubsan_no_recover",
|
| ":ubsan_security_flags",
|
| ":ubsan_vptr_flags",
|
| ]
|
|
|