Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch Linux Usan 3.x/ build bot with -fno-sanitize=function #519

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions master/custom/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
PGOUnixBuild,
ClangUnixBuild,
ClangUbsanLinuxBuild,
ClangUbsanFunctionLinuxBuild,
ClangUnixInstalledBuild,
SharedUnixBuild,
SlowNonDebugUnixBuild,
Expand Down Expand Up @@ -310,6 +311,9 @@

# riscv64 GCC
("riscv64 Ubuntu23", "onder-riscv64", SlowUnixInstalledBuild),

# Arch Usan Function
("AMD64 Arch Linux Usan Function", "pablogsal-arch-x86_64", ClangUbsanFunctionLinuxBuild),
]


Expand Down
9 changes: 9 additions & 0 deletions master/custom/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,15 @@ class ClangUbsanLinuxBuild(UnixBuild):
]
factory_tags = ["clang", "ubsan", "sanitizer"]

class ClangUbsanFunctionLinuxBuild(UnixBuild):
buildersuffix = ".clang-ubsan-function"
configureFlags = [
"CC=clang",
"LD=clang",
"CFLAGS=-fsanitize=undefined -fno-sanitize=function -fsanitize-recover",
"--with-undefined-behavior-sanitizer",
]
factory_tags = ["clang", "ubsan", "sanitizer"]

class ClangUnixInstalledBuild(UnixInstalledBuild):
buildersuffix = ".clang-installed"
Expand Down
Loading