Home
last modified time | relevance | path

Searched refs:OptionBit (Results 1 – 3 of 3) sorted by relevance

/src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Doptions.h18 enum class OptionBit { enum
33 bool get(OptionBit Opt) const { return Val & (1U << static_cast<u32>(Opt)); } in get()
37 (Val >> static_cast<u32>(OptionBit::FillContents0of2)) & 3); in getFillContentsMode()
43 Options.get(OptionBit::UseMemoryTagging); in useMemoryTagging()
51 void clear(OptionBit Opt) { in clear()
56 void set(OptionBit Opt) { in set()
64 NewOpts &= ~(3U << static_cast<u32>(OptionBit::FillContents0of2)); in setFillContentsMode()
66 << static_cast<u32>(OptionBit::FillContents0of2); in setFillContentsMode()
H A Dcombined.h159 Primary.Options.set(OptionBit::MayReturnNull); in init()
165 Primary.Options.set(OptionBit::DeallocTypeMismatch); in init()
167 Primary.Options.set(OptionBit::DeleteSizeMismatch); in init()
170 Primary.Options.set(OptionBit::UseMemoryTagging); in init()
323 if (!Options.get(OptionBit::UseOddEvenTags)) in computeOddEvenMaskForPointerMaybe()
341 if (Options.get(OptionBit::MayReturnNull))
377 if (Options.get(OptionBit::MayReturnNull))
407 if (Options.get(OptionBit::MayReturnNull))
464 if (Options.get(OptionBit::DeallocTypeMismatch)) {
475 if (DeleteSize && Options.get(OptionBit::DeleteSizeMismatch)) {
[all …]
H A Dsecondary.h590 if (Options.get(OptionBit::AddLargeAllocationSlack)) in allocate()