[all-commits] [llvm/llvm-project] bfa7d1: [MachO] Fix unaligned load in extractSections (#68...
Thurston Dang via All-commits
all-commits at lists.llvm.org
Tue Oct 10 13:48:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bfa7d10b9f1531f6bfca9d08c397347aef4a65b6
https://github.com/llvm/llvm-project/commit/bfa7d10b9f1531f6bfca9d08c397347aef4a65b6
Author: Thurston Dang <thurston.dang at gmail.com>
Date: 2023-10-10 (Tue, 10 Oct 2023)
Changed paths:
M llvm/lib/ObjCopy/MachO/MachOReader.cpp
Log Message:
-----------
[MachO] Fix unaligned load in extractSections (#68741)
A recent change to ubsan
(https://github.com/llvm/llvm-project/commit/792674400f6f04a074a3827349ed0e2ac10067f6)
exposed an unaligned load in MachOReader (see
https://lab.llvm.org/buildbot/#/builders/85/builds/19482 for an
example).
This patch fixes it by dropping the alignment.
More information about the All-commits
mailing list