The fact that safe language implementations have to think hard about how to handle null pointer exceptions safely should have been a warning sign that null pointers are a bad thing to have in a language. Sadly nearly always unheeded.
-
-
I don’t think LLVM even supports generation of landing pads at anything but call instructions. So then you can’t use load instructions for pointers anymore. You will probably need to write an LLVM intrinsic that you invoke.
-
Even if you do that, those landing pads have a code size cost. Every pointer load has to have a nontrivial amount of metadata, in case it faults.
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.