File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
compiler/rustc_codegen_llvm/src Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -658,6 +658,10 @@ impl<'ll> CodegenCx<'ll, '_> {
658
658
// deduplicate references within a CGU, but we need a reference definition in each referencing
659
659
// CGU. All attempts at using external references to a single reference definition result in
660
660
// linker errors.
661
+ //
662
+ // Newer versions of Apple Clang generate calls to `@"objc_msgSend$methname"` selector stub
663
+ // functions. We don't currently do that. The code we generate is closer to what Apple Clang
664
+ // generates with the `-fno-objc-msgsend-selector-stubs` option.
661
665
fn get_objc_selref ( & self , methname : Symbol ) -> & ' ll Value {
662
666
let mut selrefs = self . objc_selrefs . borrow_mut ( ) ;
663
667
if let Some ( selref) = selrefs. get ( & methname) . copied ( ) {
You can’t perform that action at this time.
0 commit comments