[all-commits] [llvm/llvm-project] 2f5d6a: [MachO] Fix struct size assertion
Shoaib Meenai via All-commits
all-commits at lists.llvm.org
Mon Nov 22 15:02:54 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2f5d6a0ea51b8c9ac3d241dbdd05f96e35193a26
https://github.com/llvm/llvm-project/commit/2f5d6a0ea51b8c9ac3d241dbdd05f96e35193a26
Author: Shoaib Meenai <smeenai at fb.com>
Date: 2021-11-22 (Mon, 22 Nov 2021)
Changed paths:
M lld/MachO/InputSection.cpp
Log Message:
-----------
[MachO] Fix struct size assertion
std::vector can have different sizes depending on the STL's debug level,
so account for its size separately. (You could argue that we should be
accounting for all the other members separately as well, but that would
be very unergonomic, and std::vector is the only one that's caused
problems so far.)
More information about the All-commits
mailing list