-
Notifications
You must be signed in to change notification settings - Fork 45
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
94742cf
commit e80c5f5
Showing
2 changed files
with
15 additions
and
15 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