A 32‐bit CodeView type reference.
Synopsis
Declared in <llvm/DebugInfo/CodeView/TypeIndex.h>
class TypeIndex;
Description
Types are indexed by their order of appearance in .debug$T plus 0x1000. Type indices less than 0x1000 are "simple" types, composed of a SimpleTypeMode byte followed by a SimpleTypeKind byte.
Member Functions
Name |
Description |
|
Constructors |
Return the raw 32‐bit TypeIndex value. |
|
Return the SimpleTypeKind portion of a simple TypeIndex. |
|
Return the SimpleTypeMode portion of a simple TypeIndex. |
|
Return true if the decorated item‐ID bit is set. |
|
Return true if this is the none/null simple type. |
|
Return true if this is a simple type (index less than 0x1000). |
|
Return this simple TypeIndex with pointer mode cleared (direct). |
|
Increment operators |
|
Add |
|
Decrement operators |
|
Subtract |
|
Return a copy of this TypeIndex with the item‐ID decoration cleared. |
|
Set the raw 32‐bit TypeIndex value. |
|
Return the zero‐based array index of this complex TypeIndex. |
Static Member Functions
Name |
Description |
Return a TypeIndex for a 32‐bit floating‐point type. |
|
Return a TypeIndex for a 64‐bit floating‐point type. |
|
Return a TypeIndex for a 16‐bit signed short. |
|
Return a TypeIndex for a 32‐bit signed integer. |
|
Return a TypeIndex for a 32‐bit signed long. |
|
Return a TypeIndex for a 64‐bit signed integer. |
|
Return a TypeIndex for a 64‐bit signed quad. |
|
Return a TypeIndex for a narrow character ( |
|
Return a TypeIndex for the none/null simple type. |
|
Return a TypeIndex representing |
|
Return a TypeIndex for an 8‐bit signed character. |
|
Return a TypeIndex for a 16‐bit unsigned short. |
|
Return a TypeIndex for a 32‐bit unsigned integer. |
|
Return a TypeIndex for a 32‐bit unsigned long. |
|
Return a TypeIndex for a 64‐bit unsigned integer. |
|
Return a TypeIndex for a 64‐bit unsigned quad. |
|
Return a TypeIndex for an 8‐bit unsigned character. |
|
Return a TypeIndex for the void simple type. |
|
Return a TypeIndex for a 32‐bit near pointer to void. |
|
Return a TypeIndex for a 64‐bit near pointer to void. |
|
Return a TypeIndex for a wide character. |
|
Build a TypeIndex from a zero‐based complex type array index. |
|
Build a TypeIndex from a zero‐based array index, optionally as an item ID. |
|
Return a printable name for the simple type |
Static Data Members
Name |
Description |
High bit set on TypeIndex values that refer to item IDs rather than types. |
|
First TypeIndex value reserved for complex (non‐simple) types. |
|
Bit mask selecting the SimpleTypeKind portion of a simple TypeIndex. |
|
Bit mask selecting the SimpleTypeMode portion of a simple TypeIndex. |
Friends
Name |
Description |
Return the difference between the array indices of |
|
Return a TypeIndex equal to |
|
Return a TypeIndex equal to |
|
Return true if |
|
Return true if |
|
Return true if |
|
Return true if |
|
Return true if |
|
Return true if |
Non-Member Functions
Name |
Description |
Given a CVType which is assumed to be an LF_MODIFIER, return the TypeIndex of the type that the LF_MODIFIER modifies. |
|
Given an arbitrary codeview type index, determine its size. |
Created with MrDocs