forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sema: Targeted fix for LLDB REPL issue
LLDB changes accessiblity of declarations after type checking, which is not a good idea because it is likely to break invariants. Indeed, the validateFixedLayoutAttribute() / hasFixedLayout() logic was not prepared for this possibility. This is a targeted fix to address the immediate breakage. A better fix would be to change LLDB, and also to change Sema to store the global -enable-resilience flag state in a bit in the serialized module, instead of sticking it on every declaration. Fixes <rdar://problem/23545959>.
- Loading branch information
1 parent
88ca1e5
commit 1a640d4
Showing
3 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters