You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this should be considered a bug. lld is described as "a drop in replacement for bfd and gold". This implies that it should be possible to append -fuse-ld=lld to a compiler invocation and get the same behavior.
lld
reports undefined references, whileld
is able to link this without issue:main.c:
clang main.c -lunwind-ptrace -lunwind-generic
produces no error.clang main.c -lunwind-ptrace -lundwind-genric -fuse-ld=lld
produces:clang --version
:ld.lld --version
:The text was updated successfully, but these errors were encountered: