[llvm-bugs] [Bug 36272] New: [LLD/ELF] - ICF folds functions with different LSDA.
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Feb 7 07:24:00 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36272
Bug ID: 36272
Summary: [LLD/ELF] - ICF folds functions with different LSDA.
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: grimar at accesssoftek.com
CC: llvm-bugs at lists.llvm.org
Created attachment 19828
--> https://bugs.llvm.org/attachment.cgi?id=19828&action=edit
test.c
We knew about that (and had some patches in this direction,
for example D38319 and others), but I do not think we had
a realistic use case before. And it was probably not
documented in bugtracker.
I found this issue in binutils bugtracker today and
verified it is reproduced with use of LLD head.
(for reference: https://sourceware.org/bugzilla/show_bug.cgi?id=21066)
test.c is attached. When compiled and linked with LLD and --icf=all
it crashes:
./test
caught expected exception
ERROR: caught unexpected exception
terminate called after throwing an instance of 'second_exception'
Aborted (core dumped)
without ICF output is:
./test
caught expected exception
caught expected exception
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180207/5e7cc507/attachment.html>
More information about the llvm-bugs
mailing list