diff options
| author | Matthew Maurer <mmaurer@google.com> | 2024-03-26 17:00:57 +0000 |
|---|---|---|
| committer | Matthew Maurer <mmaurer@google.com> | 2024-03-30 16:40:38 +0000 |
| commit | 8cc9a912d7daf092adc53f0b6b7fac5e86fa7e0a (patch) | |
| tree | d3d2c4d705b37e6998464ba2f307d2aec4b53b23 /compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs | |
| parent | e974570c42f4460b30fce11003b7891435931cbd (diff) | |
| download | rust-8cc9a912d7daf092adc53f0b6b7fac5e86fa7e0a.tar.gz rust-8cc9a912d7daf092adc53f0b6b7fac5e86fa7e0a.zip | |
CFI: Rewrite closure and coroutine instances to their trait method
Similar to methods on a trait object, the most common way to indirectly call a closure or coroutine is through the vtable on the appropriate trait. This uses the same approach as we use for trait methods, after backing out the trait arguments from the type.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs')
0 files changed, 0 insertions, 0 deletions
