mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-05 05:25:34 +00:00
ICU-22264 Add -fsanitize=cfi-icall
This commit is contained in:
parent
61bbeb8898
commit
e21361f28c
1 changed files with 4 additions and 4 deletions
8
.github/workflows/icu4c.yml
vendored
8
.github/workflows/icu4c.yml
vendored
|
@ -249,10 +249,10 @@ jobs:
|
|||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
# add -fsanitize=cfi-vcall -fsanitize=cfi-icall later
|
||||
CXXFLAGS: -flto -fvisibility=hidden -fsanitize=cfi-derived-cast -fno-sanitize-trap=cfi -fno-inline-functions -fno-inline -fno-omit-frame-pointer -O1
|
||||
# add -fsanitize=cfi-vcall -fsanitize=cfi-icall later
|
||||
LDFLAGS: -flto -fvisibility=hidden -fuse-ld=gold -fsanitize=cfi-derived-cast -fsanitize=cfi-unrelated-cast -fno-sanitize-trap=cfi -fsanitize-cfi-icall-generalize-pointers
|
||||
# add -fsanitize=cfi-vcall later
|
||||
CXXFLAGS: -flto -fvisibility=hidden -fsanitize=cfi-derived-cast -fno-sanitize-trap=cfi -fno-inline-functions -fno-inline -fno-omit-frame-pointer -O1 -fsanitize=cfi-icall
|
||||
# add -fsanitize=cfi-vcall later
|
||||
LDFLAGS: -flto -fvisibility=hidden -fuse-ld=gold -fsanitize=cfi-derived-cast -fsanitize=cfi-unrelated-cast -fno-sanitize-trap=cfi -fsanitize-cfi-icall-generalize-pointers -fsanitize=cfi-icall
|
||||
|
||||
# Clang Linux with thread sanitizer.
|
||||
clang-tsan:
|
||||
|
|
Loading…
Add table
Reference in a new issue