[llvm-bugs] [Bug 32257] New: inconsistent sjlj choice between CodeGen and MC assertion

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 13 13:18:45 PDT 2017


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

            Bug ID: 32257
           Summary: inconsistent sjlj choice between CodeGen and MC
                    assertion
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: davide at freebsd.org
                CC: llvm-bugs at lists.llvm.org

$ cat main.c
#include <stdio.h>
int main(void) { return (0); }

$ ./clang -target armv8-unknown-freebsd main.c -ccc-gcc-name
aarch64-linux-gnu-gcc -fuse-ld=lld -o main
clang-4.0: ../lib/Target/ARM/ARMSubtarget.cpp:144: void
llvm::ARMSubtarget::initializeEnvironment(): Assertion `(!TM.getMCAsmInfo() ||
(TM.getMCAsmInfo()->getExceptionHandlingType() == ExceptionHandling::SjLj) ==
UseSjLjEH) && "inconsistent sjlj choice between CodeGen and MC"' failed.

-- 
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/20170313/f38daed0/attachment.html>


More information about the llvm-bugs mailing list