https://bugs.llvm.org/show_bug.cgi?id=33707
Bug ID: 33707
Summary: lld incorrectly links shared library with a static
indirect call
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: ELF
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
lld from master [1] links `test.so` in this example [2] in a way that `main`
crashes because after `memsetv = memset` `memsetv` has incorrect address. This
is a regression since LLD 4.0.0.
[1] https://github.com/llvm-project/lld/commit/3ae143c
[2] https://gist.github.com/orivej/0c7c51a6bbf06ce55d8da7a99e2d8cff
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs