[all-commits] [llvm/llvm-project] ec315a: [lld-macho] Fix LOH parsing segfault
Jez Ng via All-commits
all-commits at lists.llvm.org
Thu Jul 21 11:00:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ec315a5fa1c5880df0f6a25cede9282bb551c8a1
https://github.com/llvm/llvm-project/commit/ec315a5fa1c5880df0f6a25cede9282bb551c8a1
Author: Jez Ng <jezng at fb.com>
Date: 2022-07-21 (Thu, 21 Jul 2022)
Changed paths:
M lld/MachO/InputFiles.cpp
A lld/test/MachO/loh-parsing.s
Log Message:
-----------
[lld-macho] Fix LOH parsing segfault
`advanceSubsection()` didn't account for the possibility that a section
could have no subsections.
Reviewed By: #lld-macho, thakis, BertalanD
Differential Revision: https://reviews.llvm.org/D130288
More information about the All-commits
mailing list