-
Notifications
You must be signed in to change notification settings - Fork 42
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
Allow using sanitizer runtimes on RISC-V #564
base: dev
Are you sure you want to change the base?
Allow using sanitizer runtimes on RISC-V #564
Commits on Sep 30, 2021
-
[CHERI-RISC-V] Add baseline test for conflicting sanitizer library names
We currently attempt to link libclang_rt-<lib>-riscv{32,64}.a for both purecap and non-purecap. Since there is no per-ABI subdirectory for the compiler-rt libraries, we should be using a different basename for the purecap runtime libs.
Configuration menu - View commit details
-
Copy full SHA for a7421e8 - Browse repository at this point
Copy the full SHA a7421e8View commit details -
[compiler-rt][cmake] Correctly set architecture for purecap
We have to use a different architecture suffix for purecap since not all sanitizers are supported. We already have one for MIPS but the previous logic to select it based on the target triple no longer works. This change should be more future proof and sets the RISC-V architecture suffixes to riscv{32,64}c.
Configuration menu - View commit details
-
Copy full SHA for 09d7ac6 - Browse repository at this point
Copy the full SHA 09d7ac6View commit details -
[compiler-rt] Unbreak the MIPS purecap build
This has regressed since the last merge.
Configuration menu - View commit details
-
Copy full SHA for 9a1a63a - Browse repository at this point
Copy the full SHA 9a1a63aView commit details -
[sanitizer] Fix build on FreeBSD RISC-V
We have to avoid calling renameat2 and clone on FreeBSD. Additionally, the mcontext structure has different members. Reviewed By: jrtc27, luismarques Differential Revision: https://reviews.llvm.org/D103886 (cherry picked from commit b475ce3)
Configuration menu - View commit details
-
Copy full SHA for d4dda34 - Browse repository at this point
Copy the full SHA d4dda34View commit details -
[compiler-rt] Allow building the builtins for RISC-V purecap
Currently without save.S and restore.S as those need CTSRD-CHERI#533
Configuration menu - View commit details
-
Copy full SHA for 6880e5d - Browse repository at this point
Copy the full SHA 6880e5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 418cc82 - Browse repository at this point
Copy the full SHA 418cc82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16ac532 - Browse repository at this point
Copy the full SHA 16ac532View commit details -
Configuration menu - View commit details
-
Copy full SHA for de6704f - Browse repository at this point
Copy the full SHA de6704fView commit details -
[CHERI-RISC-V] Use suffixed sanitizer libraries for purecap
Since both the plain RISC-V and purecap RISC-V compiler-rt libraries will be installed to the same directory we have to use a different name for the purecap ones. This patch uses a "c" suffix for the purecap ones.
Configuration menu - View commit details
-
Copy full SHA for f5ac08e - Browse repository at this point
Copy the full SHA f5ac08eView commit details