[all-commits] [llvm/llvm-project] 01510a: [MachO] Move type size asserts to source files. NFC
Shoaib Meenai via All-commits
all-commits at lists.llvm.org
Tue Nov 16 17:14:44 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 01510ac08474a6c4beae033794b71b6b5ab1e89d
https://github.com/llvm/llvm-project/commit/01510ac08474a6c4beae033794b71b6b5ab1e89d
Author: Shoaib Meenai <smeenai at fb.com>
Date: 2021-11-16 (Tue, 16 Nov 2021)
Changed paths:
M lld/MachO/InputSection.cpp
M lld/MachO/InputSection.h
M lld/MachO/Relocations.cpp
M lld/MachO/Relocations.h
M lld/MachO/Symbols.cpp
M lld/MachO/Symbols.h
Log Message:
-----------
[MachO] Move type size asserts to source files. NFC
As discussed in https://reviews.llvm.org/D113809#3128636. It's a bit
unfortunate to move the asserts away from the structs whose sizes
they're checking, but it's a far better developer experience when one of
the asserts is violated, because you get a single error instead of every
single source file including the header erroring out.
More information about the All-commits
mailing list