[llvm-bugs] [Bug 43350] New: [PowerPC32] segmentation fault on C++ exception handling
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Sep 18 05:03:13 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43350
Bug ID: 43350
Summary: [PowerPC32] segmentation fault on C++ exception
handling
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: alfredo.junior at eldorado.org.br
CC: llvm-bugs at lists.llvm.org, peter.smith at linaro.org
On FreeBSD powerpc64 using 32 bit compatibility libraries (LIB32), C++
exception handling is broken when application is compiled with CLANG9 and
linked with LLD9.
Same application linked with BFD 2.17 works properly:
include <iostream>
using namespace std;
int main () {
try
{
throw 20;
}
catch (int e)
{
cout << "An exception occurred. Exception Nr. " << e << '\n';
}
return 0;
}
root at alfredo-2:~/test/except # ./except32.bfd
An exception occurred. Exception Nr. 20
root at alfredo-2:~/test/except # ./except32.lld
Segmentation fault (core dumped)
--
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/20190918/c1ad7724/attachment.html>
More information about the llvm-bugs
mailing list