This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG715bd12d2e1d: [clang][modules] Over-align the `Module` class (authored by jansvoboda11).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D134653/new/ https://reviews.llvm.org/D134653 Files: clang/include/clang/Basic/Module.h Index: clang/include/clang/Basic/Module.h =================================================================== --- clang/include/clang/Basic/Module.h +++ clang/include/clang/Basic/Module.h @@ -93,7 +93,9 @@ }; /// Describes a module or submodule. -class Module { +/// +/// Aligned to 8 bytes to allow for llvm::PointerIntPair<Module *, 3>. +class alignas(8) Module { public: /// The name of this module. std::string Name;
Index: clang/include/clang/Basic/Module.h =================================================================== --- clang/include/clang/Basic/Module.h +++ clang/include/clang/Basic/Module.h @@ -93,7 +93,9 @@ }; /// Describes a module or submodule. -class Module { +/// +/// Aligned to 8 bytes to allow for llvm::PointerIntPair<Module *, 3>. +class alignas(8) Module { public: /// The name of this module. std::string Name;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits