Skip to content

Stack backtraces in exceptions not supported #2354

Closed
@llvmbot

Description

@llvmbot
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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tag

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions