This patch serializes the state of #pragma pack. It preserves the state of the pragma from a PCH/from modules in a file that uses that PCH/those modules.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
| Paths 
 |  Differential  D31241  
[Modules][PCH] Serialize #pragma pack ClosedPublic Authored by arphaman on Mar 22 2017, 7:43 AM. 
Details Summary This patch serializes the state of #pragma pack. It preserves the state of the pragma from a PCH/from modules in a file that uses that PCH/those modules. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Mar 29 2017, 10:14 AM Closed by commit rL299226: [Modules][PCH] Serialize #pragma pack (authored by arphaman).  ·  Explain WhyMar 31 2017, 8:49 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 92638 include/clang/Serialization/ASTBitCodes.h
 include/clang/Serialization/ASTReader.h
 include/clang/Serialization/ASTWriter.h
 lib/Sema/SemaAttr.cpp
 lib/Serialization/ASTReader.cpp
 
 lib/Serialization/ASTWriter.cpp
 test/Modules/Inputs/module.map
 test/Modules/Inputs/pragma_pack_push.h
 
 test/Modules/Inputs/pragma_pack_reset_push.h
 
 test/Modules/pragma-pack.c
 
 test/PCH/pragma-pack.c
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||