[NFC] Trim trailing whitespace in *.rst
[platform/upstream/llvm.git] / lld / MachO / ld64-vs-lld.rst
1 ==================
2 LD64 vs LLD-MACHO
3 ==================
4
5 This doc lists all significant deliberate differences in behavior between LD64 and LLD-MachO.
6
7 ObjC symbols treatment
8 **********************
9 There are differences in how LLD and LD64 handle ObjC symbols loaded from archives.
10
11 - LD64:
12    * Duplicate ObjC symbols from the same archives will not raise an error. LD64 will pick the first one.
13    * Duplicate ObjC symbols from different archives will raise a "duplicate symbol" error.
14 - LLD:
15    * Duplicate symbols, regardless of which archives they are from, will raise errors.