-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CHERI] Prefer capability types when lowering unions to LLVM IR types
This ensures that a union contain a __int128 and a capability will be lowered as a struct with one capability field instead of as an i128. This fixes tag stripping when passing such unions to functions by value instead of by reference.
- Loading branch information
1 parent
40f9310
commit 451cfe0
Showing
2 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters