diff options
| author | Matthew Maurer <mmaurer@google.com> | 2024-02-19 18:39:35 +0000 |
|---|---|---|
| committer | Matthew Maurer <mmaurer@google.com> | 2024-03-24 16:58:33 +0000 |
| commit | ea4518522f65480eb507a255dc215d39231e659f (patch) | |
| tree | c59ce29e34a6b0e7b36f91226025bed1e988b178 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | 6a92312a1eaf5d9cffe3bdf9aaecbfdf8e2e35d9 (diff) | |
| download | rust-ea4518522f65480eb507a255dc215d39231e659f.tar.gz rust-ea4518522f65480eb507a255dc215d39231e659f.zip | |
CFI: Handle dyn with no principal
In user-facing Rust, `dyn` always has at least one predicate following it. Unfortunately, because we filter out marker traits from receivers at callsites and `dyn Sync` is, for example, legal, this results in us having `dyn` types with no predicates on occasion in our alias set encoding. This patch handles cases where there are no predicates in a `dyn` type which are relevant to its alias set. Fixes #122998
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
