[LLVMbugs] [Bug 19213] New: Clang fails to add uwtable to some functions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 20 10:49:01 PDT 2014


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

            Bug ID: 19213
           Summary: Clang fails to add uwtable to some functions
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When compiling

int f1();
int i = f1();

clang fails to add uwtable to _GLOBAL__I_a. This means that when building
without exceptions, we don't add an entry for it in .eh_table, which violates
the ABI.

GCC produces one:

    .type    _GLOBAL__sub_I_i, @function
_GLOBAL__sub_I_i:
.LFB1:
    .cfi_startproc
....

-- 
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/20140320/a80fbb59/attachment.html>


More information about the llvm-bugs mailing list