mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When @_objcImplementation is used to implement a C function marked with __asm__, take the attribute into account when mangling SIL references. In theory this change should also make `clang::OverloadableAttr` functions mangle correctly, but in practice the matching logic for @_cdecl @_objcImplementation doesn’t currently support overloadable functions (and it’s not wise to try anyway, since clang doesn’t promise that their ABI won’t change). Fixes rdar://120503717.
1.2 KiB
1.2 KiB