[llvm-bugs] [Bug 41351] New: __clang_call_terminate doesn't have unwind table with -funwind-tables

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 2 14:58:36 PDT 2019


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

            Bug ID: 41351
           Summary: __clang_call_terminate doesn't have unwind table with
                    -funwind-tables
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: efriedma at quicinc.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

C++ testcase:

void target(void f()) noexcept { f(); }

If you compile this with "--target=aarch64-eabi -funwind-tables", the unwind
tables are missing for __clang_call_terminate.  I think it's somehow forgetting
to attach the uwtable attribute to the definition of __clang_call_terminate.

-- 
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/20190402/83ae3b4e/attachment.html>


More information about the llvm-bugs mailing list