We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)
The text was updated successfully, but these errors were encountered:
How such stuff is represented in terms of gcc builtins / llvm IR ?
Sorry, something went wrong.
A quick glance shows it using:
__builtin_frame_address _Unwind_Backtrace _Unwind_GetIP
This doesn't work with llvm-gcc.
Does it work with dragonegg?
This works with dragonegg.
Cool!
mentioned in issue llvm/llvm-bugzilla-archive#2826
No branches or pull requests
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)
The text was updated successfully, but these errors were encountered: