Skip to content

WIP/IRGen: PCS for ARM VFP CC does not correctly handle HFAs #14304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions test/IRGen/COFF-ObjC-subclass.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// RUN: %swift -target thumbv7-unknown-windows-msvc -parse-stdlib -enable-objc-interop -disable-objc-attr-requires-foundation-module -I %S/Inputs/usr/include -emit-ir %s -o - | %FileCheck %s

// REQUIRES: OS=windows

import SRoA

class C : I {
}

9 changes: 9 additions & 0 deletions test/IRGen/ELF-ObjC-subclass.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// RUN: %swift -target thumbv7-unknown-linux-gnueabihf -parse-stdlib -enable-objc-interop -disable-objc-attr-requires-foundation-module -I %S/Inputs/usr/include -emit-ir %s -o - | %FileCheck %s

// REQUIRES: OS=linux

import SRoA

class C : I {
}

6 changes: 6 additions & 0 deletions test/IRGen/Inputs/usr/include/SRoA.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ typedef struct S {

void f(S);

#if defined(__OBJC__)
@interface I
- (instancetype _Nonnull)initWithS:(S)s;
@end
#endif