Declares the fields of FunctionData shared with LLVM.
Synopsis
Declared in <llvm/ProfileData/CtxInstrContextNode.h>
#define CTXPROF_FUNCTION_DATA(PTRDECL, CONTEXT_PTR, VOLATILE_PTRDECL, MUTEXDECL)
Description
The internal structure of FunctionData. This makes sure that changes to the fields of FunctionData either get automatically captured on the llvm side, or force a manual corresponding update. See CtxInstrProfiling.h for example expansions.
Parameters
Name |
Description |
PTRDECL |
Macro taking a type and field name for a pointer field. |
CONTEXT_PTR |
Expansion that declares the context‐pointer field. |
VOLATILE_PTRDECL |
Macro taking a type and field name for a volatile pointer field. |
MUTEXDECL |
Macro taking the name of a mutex field. |
Created with MrDocs