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
Improved code generation for dynamic_cast to a final type. Instead of dispatching to the runtime library to compare the RTTI data, Clang now generates a direct comparison of the vtable pointer in cases where the ABI requires the vtable for a class to be unique. This optimization can be disabled with -fno-assume-unique-vtables. This optimization is not yet implemented for the MS C++ ABI.
After add the compile option -fno-assume-unique-vtables, everything works now.
When running unittest
thrift/lib/cpp2/test/FutureTest.cpp
It crashed on
fbthrift/thrift/lib/cpp2/server/ThriftServer.cpp
Line 393 in 7db5a06
Simple demo built with c++20 works well. The platform is linux aarch64(same segmentfault on macOS m1), LLVM version is 18.1.6
The text was updated successfully, but these errors were encountered: