Home
last modified time | relevance | path

Searched refs:DiscardPolicy (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/lld/ELF/
DConfig.h44 enum class DiscardPolicy { Default, All, Locals, None }; enum
244 DiscardPolicy discard;
DDriver.cpp664 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()
DWriter.cpp720 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()
/external/perfetto/src/tracing/core/
Dtrace_buffer_unittest.cc1686 TEST_F(TraceBufferTest, DiscardPolicy) { in TEST_F() argument