Skip to content

Commit

Permalink
Add -fno-sanitize=vptr,function when ubsan is activated (#6880)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple authored and pull[bot] committed Sep 2, 2021
1 parent fa995e6 commit 3727370
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ config("sanitize_undefined_behavior") {
"-fsanitize=unsigned-integer-overflow",
"-fsanitize=implicit-conversion",
"-fsanitize=nullability",
"-fno-sanitize=vptr,function",
]
ldflags = cflags
}
Expand Down

0 comments on commit 3727370

Please sign in to comment.