Commit Graph

1 Commits

Author SHA1 Message Date
Ashley Garland
635550cd83 [SymbolGraph] Check Loc validity before extracting text
Hit this crash while walking an `import protocol ...` declaration.
Check loc validity before calling `SourceManager::extractText`:
there is an assertion at the beginning of this function.

rdar://65258208
2020-08-07 13:53:22 -07:00