Commit 392d9eb03af5a1adac66a86939351b22b3e73495 added a dependency on
FPE_FLTIDO which was only defined in FreeBSD main on May 19, 2022 and it
not in all releases. Just define it if it's missing.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, but if such SIGFPE's occur before the FPE_FLTIDO define was introduced, can they ever have value 9?
Comment Actions
This is essentially a compile-time assertion to make sure we have the correct value for FPE_FLTIDO. If we're building on an older FreeBSD which does not have it defined then we can't check it anyway.
We could run an LLDB built on older FreeBSD on a newer kernel and receive FPE_FLTIDO I imagine.