Adds debug functions because llvm::Value::dump never seems to be found by GDB.  Fixes a typo in an error message.