Searched refs:DiscardPolicy (Results 1 – 4 of 4) sorted by relevance
44 enum class DiscardPolicy { Default, All, Locals, None }; enum244 DiscardPolicy discard;
664 static DiscardPolicy getDiscard(opt::InputArgList &args) { in getDiscard()668 return DiscardPolicy::Default; in getDiscard()670 return DiscardPolicy::All; in getDiscard()672 return DiscardPolicy::Locals; in getDiscard()673 return DiscardPolicy::None; in getDiscard()
720 if (config->discard == DiscardPolicy::None) in shouldKeepInSymtab()722 if (config->discard == DiscardPolicy::All) in shouldKeepInSymtab()735 if (config->discard == DiscardPolicy::Locals) in shouldKeepInSymtab()771 if (config->copyRelocs && config->discard != DiscardPolicy::None) in copyLocalSymbols()
1686 TEST_F(TraceBufferTest, DiscardPolicy) { in TEST_F() argument