Skip to content

Conversation

@eeckstein
Copy link
Contributor

Because when they are inlined they might access hidden symbols in another module, like the field offset variable.

fixes rdar://problem/29707641

@slavapestov Thanks for your help!

@eeckstein
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@eeckstein
Copy link
Contributor Author

@swift-ci Please test

@eeckstein
Copy link
Contributor Author

@jckarter, @slavapestov Can you please take a look at that?

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 91429a2582ee8ffea92b93e4afa126e2543a4f2f
Test requested by - @eeckstein

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to make tests cross platform where possible. Can you split off a new test if you want to test NSObject subclasses?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a #if _runtime(_ObjC)

Because when they are inlined they might access hidden symbols in another module, like the field offset variable.

fixes rdar://problem/29707641
@eeckstein
Copy link
Contributor Author

@swift-ci Please test

1 similar comment
@eeckstein
Copy link
Contributor Author

@swift-ci Please test

@slavapestov
Copy link
Contributor

Looks good, thanks for fixing this!

@eeckstein eeckstein merged commit 4662674 into swiftlang:master Dec 20, 2016
@eeckstein eeckstein deleted the silgen-fix branch December 20, 2016 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants