Skip to content

[SIL] Add test case for crash triggered in swift::Parser::parseSILWitnessTable(…) #701

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
Dec 21, 2015
Merged

[SIL] Add test case for crash triggered in swift::Parser::parseSILWitnessTable(…) #701

merged 1 commit into from
Dec 21, 2015

Conversation

practicalswift
Copy link
Contributor

Stack trace:

sil-opt: /path/to/swift/lib/Parse/ParseSIL.cpp:790: llvm::PointerUnion<ValueDecl *, Module *> lookupTopDecl(swift::Parser &, swift::Identifier): Assertion `DeclLookup.isSuccess() && DeclLookup.Results.size() == 1' failed.
11 sil-opt         0x0000000000a27272 swift::Parser::parseSILWitnessTable() + 450
12 sil-opt         0x00000000009f5a13 swift::Parser::parseTopLevel() + 755
13 sil-opt         0x00000000009f0d3f swift::parseIntoSourceFile(swift::SourceFile&, unsigned int, bool*, swift::SILParserState*, swift::PersistentParserState*, swift::DelayedParsingCallbacks*) + 207
14 sil-opt         0x00000000007391a6 swift::CompilerInstance::performSema() + 2918
15 sil-opt         0x0000000000723dfc main + 1916
Stack dump:
0.  Program arguments: sil-opt -enable-sil-verify-all
1.  With parser at source location: <stdin>:3:22

…nessTable()

Stack trace:

```
sil-opt: /path/to/swift/lib/Parse/ParseSIL.cpp:790: llvm::PointerUnion<ValueDecl *, Module *> lookupTopDecl(swift::Parser &, swift::Identifier): Assertion `DeclLookup.isSuccess() && DeclLookup.Results.size() == 1' failed.
11 sil-opt         0x0000000000a27272 swift::Parser::parseSILWitnessTable() + 450
12 sil-opt         0x00000000009f5a13 swift::Parser::parseTopLevel() + 755
13 sil-opt         0x00000000009f0d3f swift::parseIntoSourceFile(swift::SourceFile&, unsigned int, bool*, swift::SILParserState*, swift::PersistentParserState*, swift::DelayedParsingCallbacks*) + 207
14 sil-opt         0x00000000007391a6 swift::CompilerInstance::performSema() + 2918
15 sil-opt         0x0000000000723dfc main + 1916
Stack dump:
0.	Program arguments: sil-opt -enable-sil-verify-all
1.	With parser at source location: <stdin>:3:22
```
gribozavr added a commit that referenced this pull request Dec 21, 2015
…esilwitnesstable

[SIL] Add test case for crash triggered in swift::Parser::parseSILWitnessTable(…)
@gribozavr gribozavr merged commit b28e300 into swiftlang:master Dec 21, 2015
freak4pc pushed a commit to freak4pc/swift that referenced this pull request Sep 28, 2022
[Stress tester XFails] Update XFails
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