Closed
Description
Bugzilla Link | 19213 |
Version | unspecified |
OS | All |
Reporter | LLVM Bugzilla Contributor |
CC | @dwblaikie,@DougGregor |
Extended Description
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
....