about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2024-03-15 19:45:46 +0000
committerMatthew Maurer <mmaurer@google.com>2024-03-23 18:30:39 +0000
commitabbe1ba6f2e09a79ceee53bd6645265c6bb8f0f2 (patch)
treea7201740390ec908278522a51d99dd8844df3f56 /tests/codegen/patchable-function-entry
parenta9511585655c5ab232007354914252e4fdfc719e (diff)
downloadrust-abbe1ba6f2e09a79ceee53bd6645265c6bb8f0f2.tar.gz
rust-abbe1ba6f2e09a79ceee53bd6645265c6bb8f0f2.zip
CFI: Use Instance at callsites
We already use `Instance` at declaration sites when available to glean
additional information about possible abstractions of the type in use.
This does the same when possible at callsites as well.

The primary purpose of this change is to allow CFI to alter how it
generates type information for indirect calls through `Virtual`
instances.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions