@@ -7577,6 +7577,7 @@ bool SILParserState::parseSILGlobal(Parser &P) {
75777577 SerializedKind_t isSerialized = IsNotSerialized;
75787578 bool isMarkedAsUsed = false ;
75797579 StringRef asmName;
7580+ StringRef section;
75807581 bool isLet = false ;
75817582
75827583 SILParser State (P);
@@ -7585,7 +7586,7 @@ bool SILParserState::parseSILGlobal(Parser &P) {
75857586 nullptr , nullptr , nullptr , nullptr , nullptr , nullptr ,
75867587 nullptr , nullptr , nullptr , nullptr , nullptr , nullptr ,
75877588 nullptr , nullptr , nullptr , &isMarkedAsUsed, &asmName,
7588- nullptr , &isLet, nullptr , nullptr , nullptr , nullptr ,
7589+ §ion , &isLet, nullptr , nullptr , nullptr , nullptr ,
75897590 nullptr , nullptr , nullptr , nullptr , nullptr , nullptr ,
75907591 State, M) ||
75917592 P.parseToken (tok::at_sign, diag::expected_sil_value_name) ||
@@ -7615,6 +7616,7 @@ bool SILParserState::parseSILGlobal(Parser &P) {
76157616 GV->setLet (isLet);
76167617 GV->setMarkedAsUsed (isMarkedAsUsed);
76177618 GV->setAsmName (asmName);
7619+ GV->setSection (section);
76187620
76197621 // Parse static initializer if exists.
76207622 if (State.P .consumeIf (tok::equal) && State.P .consumeIf (tok::l_brace)) {
0 commit comments