mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
[UBSan] Temporarily disable UBSan for gtest and file
These should be the remaining instances of UB errors we see. Bug: fuchsia:46805 Change-Id: Id8285386fd6cb52518f6076ddb79ac60025f9f87 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2067754 Reviewed-by: Scott Graham <scottmg@chromium.org> Commit-Queue: Scott Graham <scottmg@chromium.org>
This commit is contained in:
parent
d632f625a2
commit
8bad6f140e
2
BUILD.gn
2
BUILD.gn
@ -28,6 +28,8 @@ config("disable_ubsan") {
|
||||
visibility = [
|
||||
"snapshot:snapshot",
|
||||
"minidump:minidump_test",
|
||||
"third_party/gtest:gtest",
|
||||
"util:util",
|
||||
]
|
||||
}
|
||||
|
||||
|
1
third_party/gtest/BUILD.gn
vendored
1
third_party/gtest/BUILD.gn
vendored
@ -34,6 +34,7 @@ if (crashpad_is_in_chromium) {
|
||||
public_deps = [
|
||||
"//third_party/googletest:gtest",
|
||||
]
|
||||
public_configs = [ "../..:disable_ubsan" ]
|
||||
}
|
||||
group("gmock") {
|
||||
testonly = true
|
||||
|
@ -514,6 +514,8 @@ static_library("util") {
|
||||
if (crashpad_is_android || crashpad_is_linux) {
|
||||
deps += [ "../third_party/lss" ]
|
||||
}
|
||||
|
||||
configs += [ "..:disable_ubsan" ]
|
||||
}
|
||||
|
||||
if (!crashpad_is_android) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user