[llvm-bugs] [Bug 27099] New: -fsjlj-exceptions emitting _Unwind_Resume instead of _Unwind_SjLj_Resume

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 28 14:41:00 PDT 2016


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

            Bug ID: 27099
           Summary: -fsjlj-exceptions emitting _Unwind_Resume instead of
                    _Unwind_SjLj_Resume
           Product: clang
           Version: unspecified
          Hardware: Other
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: robert.caston at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

not sure if correct place to report bug. i don't have a non-apple clang version
to report against.

Version: Apple LLVM version 7.3.0 (clang-703.0.29)

if i specify a target triple with a system other than darwin along with
-fsjlj-exceptions, e.g.

clang++ -target armv7a-unknown-none-macho -arch armv7 -march=armv7-a
-mcpu=cortex-a5 -mfpu=vfpv4-d16 -Xclang -fsjlj-exceptions -E -dD - < /dev/null
| grep __USING_SJLJ_EXCEPTIONS__
#define __USING_SJLJ_EXCEPTIONS__ 1

i get the appropriate preprocessor define, but the output still makes
references to the incorrect _Unwind_Resume
000009ea        f7ffeb0a        blx     __Unwind_Resume

i am in this situation because this change:
http://reviews.llvm.org/D12155
made it so i can't specify hard-float and darwin at the same time. my platform
does have hard-float, but i need to continue using sjlj exceptions.

-- 
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/20160328/84b2210f/attachment.html>


More information about the llvm-bugs mailing list