15 if (CGOpts.DisableLifetimeMarkers)
19 if (CGOpts.SanitizeAddressUseAfterScope ||
26 return CGOpts.OptimizationLevel != 0;
CodeGenOptions - Track various options which control how the code is optimized and passed to the back...
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
SanitizerSet Sanitize
Set of enabled sanitizers.
bool shouldEmitLifetimeMarkers(const CodeGenOptions &CGOpts, const LangOptions &LangOpts)
Decide whether we need to emit the lifetime markers.
bool has(SanitizerMask K) const
Check if a certain (single) sanitizer is enabled.