about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-04-05 22:33:27 +0200
committerGitHub <noreply@github.com>2024-04-05 22:33:27 +0200
commit5ceac29123215e7bdd8d50672747e9e1d3da06e5 (patch)
treea96d4a9bf8c649f5fd8a1c88808179ea1c2a00f0 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent26588239c2b32ffdb8e7e6a43d5204db8b795ceb (diff)
parent2498a9d4642f66a931ab371ebeb316f59e49caef (diff)
downloadrust-5ceac29123215e7bdd8d50672747e9e1d3da06e5.tar.gz
rust-5ceac29123215e7bdd8d50672747e9e1d3da06e5.zip
Rollup merge of #123487 - rcvalle:rust-cfi-restore-typeid-for-instance, r=compiler-errors
CFI: Restore typeid_for_instance default behavior

Restore typeid_for_instance default behavior of performing self type erasure, since it's the most common case and what it does most of the time. Using concrete self (or not performing self type erasure) is for assigning a secondary type id, and secondary type ids are only assigned when they're unique and to methods, and also are only tested for when methods are used as function pointers.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions