[PATCH] D110464: [lld-macho][nfc] Added some notes on deliberate differences btw LLD vs LD64
Vy Nguyen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 20 18:04:02 PDT 2021
oontvoo updated this revision to Diff 381123.
oontvoo marked an inline comment as done.
oontvoo added a comment.
addressed review comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110464/new/
https://reviews.llvm.org/D110464
Files:
lld/MachO/ld64-vs-lld.rst
Index: lld/MachO/ld64-vs-lld.rst
===================================================================
--- /dev/null
+++ lld/MachO/ld64-vs-lld.rst
@@ -0,0 +1,16 @@
+==================
+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 is not an error. It 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.
+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110464.381123.patch
Type: text/x-patch
Size: 754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211021/252050d7/attachment.bin>
More information about the llvm-commits
mailing list