[LLVMbugs] [Bug 17031] New: llc on ARM doesn't emit exception catch

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 28 18:18:15 PDT 2013


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: unassignedbugs at nondot.org
          Reporter: weimingz at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130829/74177efe/attachment.html>


More information about the llvm-bugs mailing list