Kernel function work.
Cleaning up LLVM exports and adding an access violation trap.