Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DILocalVariable memory layout
*** Dumping AST Record Layout
0 | class llvm::DILocalVariable
0 | class llvm::DIVariable (base)
0 | class llvm::DINode (base)
0 | class llvm::MDNode (base)
0 | class llvm::Metadata (base)
0 | const unsigned char SubclassID
1:0-1 | unsigned int Storage
2 | unsigned short SubclassData16
4 | unsigned int SubclassData32
8 | unsigned int NumOperands
12 | unsigned int NumUnresolved
16 | class llvm::ContextAndReplaceableUses Context
16 | class llvm::PointerUnion<class llvm::LLVMContext *, class llvm::ReplaceableMetadataImpl *> Ptr
16 | class llvm::PointerIntPair<void *, 1, _Bool, class llvm::PointerUnionUIntTraits<class llvm::LLVMContext *, class llvm::ReplaceableMetadataImpl *>, struct llvm::PointerIntPairInfo<void *, 1, class llvm::PointerUnionUIntTraits<class llvm::LLVMContext *, class llvm::ReplaceableMetadataImpl *> > > Val
16 | intptr_t Value
24 | unsigned int Line
28 | unsigned int Arg
32 | unsigned int Flags
| [sizeof=40, dsize=36, align=8,
| nvsize=36, nvalign=8]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.