emitError overloads
Declared in <llvm/IR/LLVMContext.h>
Emit an error message with no associated instruction location.
void
emitError(Twine const& ErrorStr);
» more...
Emit an error for instruction I with message ErrorStr.
void
emitError(
Instruction const* I,
Twine const& ErrorStr);
» more...
| Name | Description |
|---|---|
| ErrorStr | The error message to emit. |
| I | Optional instruction providing location information. |