Expand description
Remark diagnostics library.
Enums§
Constants§
Functions§
- Returns the debug location that is attached to the value of this argument.
- Returns the key of an argument. The key defines what the value is, and the same key can appear multiple times in the list of arguments.
- Returns the value of an argument. This is a string that can contain newlines.
- Return the column in the source file for a debug location.
- Return the path to the source file for a debug location.
- Return the line in the source file for a debug location.
- Free the resources used by the remark entry.
- Returns the debug location that is attached to this remark.
- Get a new iterator to iterate over a remark’s argument.
- Get the name of the function being processed when the remark was emitted.
- Return the hotness of the remark.
- Get the next argument in Remark from the position of It.
- The number of arguments the remark holds.
- Get the name of the pass that emitted this remark.
- Get an identifier of the remark.
- The type of the remark. For example, it can allow users to only keep the missed optimizations from the compiler.
- Creates a remark parser that can be used to parse the buffer located in Buf of size Size bytes.
- Returns a null-terminated string containing an error message.
- Returns the next remark in the file.
- Returns
1
if the parser encountered an error while parsing the buffer. - Returns the buffer holding the string.
- Returns the size of the string.
- Returns the version of the remarks library.
Type Aliases§
- Element of the “Args” list. The key might give more information about what the semantics of the value are, e.g. “Callee” will tell you that the value is a symbol that names a function.
- DebugLoc containing File, Line and Column.
- A remark emitted by the compiler.
- String containing a buffer and a length. The buffer is not guaranteed to be zero-terminated.