[lld/mac] Change load command order to be more like ld64
authorNico Weber <thakis@chromium.org>
Sat, 17 Jul 2021 15:18:48 +0000 (11:18 -0400)
committerNico Weber <thakis@chromium.org>
Mon, 19 Jul 2021 19:04:32 +0000 (15:04 -0400)
commitbcbb3066ce8a6c7fdda8c72a0f51e0572172de8c
treefa36cc35fe747c2800fd2d3bb7ec5d50cb14d971
parenta2cc67eaf0676cc9ff962d4e297815dd9ca7cdd0
[lld/mac] Change load command order to be more like ld64

No meaningful behavior change. Makes diffing `otool -l` output a bit easier.

Differential Revision: https://reviews.llvm.org/D106219
lld/MachO/Writer.cpp
lld/test/MachO/load-command-sequence.s