You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[libcxxabi] [test] Avoid test failures with 64/128 bit long doubles on x86
In libcxxabi/src/demangle/ItaniumDemangle.h, we have long double
demangling defined to 20 bytes for i386 and x86_64, based on
explicit arch ifdefs.
For i386 and x86_64 configurations that actually don't use
80 bit long doubles (such as Android), we don't have LDBL_FP80
set within the test, but the demangler is still capable of
demangling 80 bit long doubles, causing test failures like this.
.---command stdout------------
| Testing 29859 symbols.
| _ZN5test01hIfEEvRAcvjplstT_Le4001a000000000000000E_c should be invalid but is not
| Got: 0, void test0::h<float>(char (&) [(unsigned int)(sizeof (float) + 0x0.07ff98f7ep-1022L)])
`-----------------------------
.---command stderr------------
| Assertion failed: !passed && "demangle did not fail", file libcxxabi/test/test_demangle.pass.cpp, line 30338
`-----------------------------
0 commit comments