]> git.lizzy.rs Git - rust.git/commit
Collect function instance used in `global_asm!` sym operand
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Mon, 2 May 2022 00:00:00 +0000 (00:00 +0000)
committerTomasz Miąsko <tomasz.miasko@gmail.com>
Tue, 3 May 2022 05:12:43 +0000 (07:12 +0200)
commite62663492b2773d50e37a70420f41e758d5af722
tree2bdd7fb5ab75313df05e368281e9cea1a92a37e8
parent24c898504379252fafedc218074af49126da41ec
Collect function instance used in `global_asm!` sym operand

The constants used in SymFn operands have FnDef type,
so the type of the constant identifies the function.
compiler/rustc_monomorphize/src/collector.rs
src/test/assembly/asm/global_asm.rs