mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: Record -sil-serialize-all in the ModuleDecl
We want to distinguish the special case of a library built with -sil-serialize-all, from a SIL function that is [fragile] because of an explicitly @_transparent or @inline(__always). For now, NFC.
This commit is contained in:
@@ -109,8 +109,10 @@ static bool readOptionsBlock(llvm::BitstreamCursor &cursor,
|
||||
case options_block::IS_TESTABLE:
|
||||
extendedInfo.setIsTestable(true);
|
||||
break;
|
||||
case options_block::IS_RESILIENT:
|
||||
extendedInfo.setIsResilient(true);
|
||||
case options_block::RESILIENCE_STRATEGY:
|
||||
unsigned Strategy;
|
||||
options_block::ResilienceStrategyLayout::readRecord(scratch, Strategy);
|
||||
extendedInfo.setResilienceStrategy(ResilienceStrategy(Strategy));
|
||||
break;
|
||||
default:
|
||||
// Unknown options record, possibly for use by a future version of the
|
||||
|
||||
Reference in New Issue
Block a user