about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2024-03-26 17:00:57 +0000
committerMatthew Maurer <mmaurer@google.com>2024-03-30 16:40:38 +0000
commit8cc9a912d7daf092adc53f0b6b7fac5e86fa7e0a (patch)
treed3d2c4d705b37e6998464ba2f307d2aec4b53b23 /compiler/rustc_codegen_llvm/src
parente974570c42f4460b30fce11003b7891435931cbd (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions