Implement debug wrappers to diagnose cases without LLVMDEV.