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 Jul 19, 2021
1 parent f0f8309 commit 1031704
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 1031704

Please sign in to comment.