diff options
| author | Matthew Maurer <mmaurer@google.com> | 2024-03-15 18:44:40 +0000 |
|---|---|---|
| committer | Matthew Maurer <mmaurer@google.com> | 2024-03-23 18:30:45 +0000 |
| commit | f434c27067085d72c7770da3b6d4e0bc316fd267 (patch) | |
| tree | de6904f03fafbbff57d753505e7f3df126b2c87b /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 7967915c7b456d59fd963260822d3cf583969948 (diff) | |
| download | rust-f434c27067085d72c7770da3b6d4e0bc316fd267.tar.gz rust-f434c27067085d72c7770da3b6d4e0bc316fd267.zip | |
CFI: Strip auto traits off Self for virtual calls
Additional trait bounds beyond the principal trait and its implications are not possible in the vtable. This means that if a receiver is `&dyn Foo + Send`, the function will only be expecting `&dyn Foo`. This strips those auto traits off before CFI encoding.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
