Closed
Description
Bugzilla Link | 1982 |
Resolution | FIXED |
Resolved on | May 04, 2012 06:47 |
Version | trunk |
OS | Linux |
Reporter | LLVM Bugzilla Contributor |
CC | @asl,@jayfoad |
Extended Description
The Ada -E binder option stores a stack traceback in the exception.
This doesn't work with llvm-gcc. Testcase:
procedure Trace is
begin
raise Program_Error;
end;
$ gnatmake trace.adb -bargs -E
gcc -c trace.adb
gnatbind -aO./ -E -I- -x trace.ali
gnatlink trace.ali
$ ./trace
Segmentation fault (core dumped)