Parse a DIExpression body at the beginning of the given string.
Declared in <llvm/AsmParser/Parser.h>
DIExpression*
parseDIExpressionBodyAtBeginning(
StringRef Asm,
unsigned int& Read,
SMDiagnostic& Err,
Module const& M,
SlotMapping const* Slots);
null on error.
| Name | Description |
|---|---|
| Asm | The string that starts with a DIExpression body. |
| Read | The number of characters consumed while parsing. |
| Err | Error result info. |
| M | The module providing context for named types and values. |
| Slots | The optional slot mapping that will restore the parsing state of the module. |