Previously this would crash. Fixes https://bugs.llvm.org/show_bug.cgi?id=51877
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D113819
[llvm-obcopy][MachO] Add error for MH_PRELOAD ClosedPublic Authored by keith on Nov 12 2021, 5:25 PM.
Details
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 12 2021, 6:01 PM Closed by commit rG47bb456b2ffd: [llvm-obcopy][MachO] Add error for MH_PRELOAD (authored by keith). · Explain WhyNov 12 2021, 7:20 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 386987 llvm/test/tools/llvm-objcopy/MachO/Inputs/mh_preload.yaml
llvm/test/tools/llvm-objcopy/MachO/mh-preload-unsupported.test
llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
|
this can be reduced to just the header, no load commands, no sections