Skip to content

[test][IRGen] Loosen check in test unused.sil. #33773

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

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

3405691582
Copy link
Member

In #33246 among other changes, a CHECK referring to the size of
_swift1_autolink_entries was changed from a regex-based expectation to a
static value. This means on platforms with different link flags, this
expectation fails but does not signify any real failure. Revert back to
using a regex check for the length of this constant.

For reference, excerpting the IR emitted by this unit test on OpenBSD:

@_swift1_autolink_entries = private constant [33 x i8] c"-lswiftCore\00-lpthread\00-lutil\00-lm\00", section ".swift1_autolink_entries", align 8

In swiftlang#33246 among other changes, a CHECK referring to the size of
_swift1_autolink_entries was changed from a regex-based expectation to a
static value. This means on platforms with different link flags, this
expectation fails but does not signify any real failure. Revert back to
using a regex check for the length of this constant.
@rjmccall
Copy link
Contributor

rjmccall commented Sep 4, 2020

@swift-ci Please test

@rjmccall rjmccall merged commit b8f4e6a into swiftlang:master Sep 4, 2020
@rjmccall
Copy link
Contributor

rjmccall commented Sep 4, 2020

Thanks!

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.

2 participants