https://llvm.org/bugs/show_bug.cgi?id=27809

Reid Kleckner <r...@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Reid Kleckner <r...@google.com> ---
(In reply to comment #8)
> Backtrace follows. Note that according to the API of LLVMTargetMachineEmit
> it is supposed to return and report errors via one of its parameters.
> Instead LLVM is writing its own error messages to stderr and then calling
> exit.

You need to install a diagnostic handler in order for LLVM to not call exit.
See LLVMContext::setDiagnosticHandler.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to