llvm::ObjectSizeOpts

Various options to control the behavior of getObjectSize.

Synopsis

Declared in <llvm/Analysis/MemoryBuiltins.h>

struct ObjectSizeOpts;

Enums

NameDescription
Mode Controls how we handle conditional statements with unknown conditions.

Data Members

NameDescription
AA If set, used for more accurate evaluation
EvalMode How we want to evaluate this object's size.
NullIsUnknownSize If true, treat null pointers in address space 0 as unknown size.
RoundToAlign Whether to round the result up to the alignment of allocas, byval arguments, and global variables.