Closed ctapmex closed 4 months ago
The reason for the fall https://github.com/elfmz/far2l/pull/1005
- We have some places, where we call hasParent() with 'this' == 0. It is forbidden by C++ standard, and compiler optimizes code based on assumption that 'this' never equals zero. So we cheat compiler with non-inline method, so compiler can not assume that This() != 0.
fixed
When running on FreeBSD + clang, the library crashes.