LLVM  9.0.0svn
Classes | Macros | Typedefs | Functions
OptRemarks.h File Reference
#include "llvm-c/Core.h"
#include "llvm-c/Types.h"
#include <stddef.h>
Include dependency graph for OptRemarks.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LLVMOptRemarkStringRef
 String containing a buffer and a length. More...
 
struct  LLVMOptRemarkDebugLoc
 DebugLoc containing File, Line and Column. More...
 
struct  LLVMOptRemarkArg
 Element of the "Args" list. More...
 
struct  LLVMOptRemarkEntry
 One remark entry. More...
 

Macros

#define OPT_REMARKS_API_VERSION   0
 

Typedefs

typedef struct LLVMOptRemarkOpaqueParser * LLVMOptRemarkParserRef
 

Functions

LLVMOptRemarkParserRef LLVMOptRemarkParserCreate (const void *Buf, uint64_t Size)
 Creates a remark parser that can be used to read and parse the buffer located in Buf of size Size. More...
 
LLVMOptRemarkEntryLLVMOptRemarkParserGetNext (LLVMOptRemarkParserRef Parser)
 Returns the next remark in the file. More...
 
LLVMBool LLVMOptRemarkParserHasError (LLVMOptRemarkParserRef Parser)
 Returns 1 if the parser encountered an error while parsing the buffer. More...
 
const charLLVMOptRemarkParserGetErrorMessage (LLVMOptRemarkParserRef Parser)
 Returns a null-terminated string containing an error message. More...
 
void LLVMOptRemarkParserDispose (LLVMOptRemarkParserRef Parser)
 Releases all the resources used by Parser. More...
 
uint32_t LLVMOptRemarkVersion (void)
 Returns the version of the opt-remarks dylib. More...