[PATCH] D113809: [MachO] Fix struct size assertion
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 16 16:31:04 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG637a3396b3f8: [MachO] Fix struct size assertion (authored by smeenai).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113809/new/
https://reviews.llvm.org/D113809
Files:
lld/MachO/InputSection.h
Index: lld/MachO/InputSection.h
===================================================================
--- lld/MachO/InputSection.h
+++ lld/MachO/InputSection.h
@@ -150,7 +150,7 @@
};
// Verify ConcatInputSection's size on 64-bit builds.
-static_assert(sizeof(int) != 8 || sizeof(ConcatInputSection) == 112,
+static_assert(sizeof(void *) != 8 || sizeof(ConcatInputSection) == 120,
"Try to minimize ConcatInputSection's size, we create many "
"instances of it");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113809.387783.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211117/2c147f1c/attachment.bin>
More information about the llvm-commits
mailing list