http://llvm.org/bugs/show_bug.cgi?id=17031

            Bug ID: 17031
           Summary: llc on ARM doesn't emit exception catch
           Product: new-bugs
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 11114
  --> http://llvm.org/bugs/attachment.cgi?id=11114&action=edit
expected asm

llc -O2 < testthrow.ll  
in the main function, the code for catching exception is missing.
As a result, it hits segment fault.

clang 3.3 in Google's NDK works properly:
android-ndk-r9/toolchains/llvm-3.3/prebuilt/linux-x86_64/bin/clang++  -target
armv7-none-linux-androideabi -march=armv7-a -mfloat-abi=softfp  -O2
testthrow.ll -c -S -o good.s

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to