Skip to content

Ignore debug markers that aren't relevant for this test. #29968

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
Feb 20, 2020

Conversation

tbkka
Copy link
Contributor

@tbkka tbkka commented Feb 20, 2020

The previous code expects output like this:

define hidden swiftcc i8* @"$s6SR82094test10ObjectiveC8SelectorVyF"() #0 {

But in certain build modes, we get extra debug information that looks like this:

define hidden swiftcc i8* @"$s6SR82094test10ObjectiveC8SelectorVyF"() #0 !dbg !47 {

I stumbled over this while running tests with a variety of different
options.

The previous code expects output like this:
```
define hidden swiftcc i8* @"$s6SR82094test10ObjectiveC8SelectorVyF"() #0 {
```

But in certain build modes, we get extra debug information that looks like this:
```
define hidden swiftcc i8* @"$s6SR82094test10ObjectiveC8SelectorVyF"() #0 !dbg !47 {
```

I stumbled over this while running tests with a variety of different
options.
@tbkka tbkka requested a review from eeckstein February 20, 2020 20:33
@tbkka
Copy link
Contributor Author

tbkka commented Feb 20, 2020

@swift-ci Please test and merge

@swift-ci swift-ci merged commit 646a3e2 into swiftlang:master Feb 20, 2020
@tbkka tbkka deleted the tbkka-validation-test-Sema-sr8209 branch October 16, 2020 00:33
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