mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Certain actions do not initialize `ASTContext`, eg. `TypecheckModuleFromInterface`. But `performAction` was always grabbing a `ASTContext&`. With `_GLIBCXX_ASSERTIONS` and `_LIBCPP_ENABLE_ASSERTIONS` now enabled in an asserts build, this hits an assert in `unique_ptr::operator*` that checks for a null deref.
93 KiB
93 KiB