aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lld/MachO/ld64-vs-lld.rst
blob: 14fb72a2ac8fbbcab7563e8fb133fc38e3f0328f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
==================
LD64 vs LLD-MACHO
==================

This doc lists all significant deliberate differences in behavior between LD64 and LLD-MachO.

ObjC symbols treatment
**********************
There are differences in how LLD and LD64 handle ObjC symbols loaded from archives.

- LD64:
   * Duplicate ObjC symbols from the same archives will not raise an error. LD64 will pick the first one.
   * Duplicate ObjC symbols from different archives will raise a "duplicate symbol" error.
- LLD:
   * Duplicate symbols, regardless of which archives they are from, will raise errors.