reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/SpecialCaseList.h
   88   bool inSection(StringRef Section, StringRef Prefix, StringRef Query,

References

lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  188            SCL->inSection("dataflow", "fun", F.getName(), Category);
  200       return SCL->inSection("dataflow", "fun", GA.getName(), Category);
  202     return SCL->inSection("dataflow", "global", GA.getName(), Category) ||
  203            SCL->inSection("dataflow", "type", GetGlobalTypeString(GA),
  209     return SCL->inSection("dataflow", "src", M.getModuleIdentifier(), Category);
tools/clang/lib/Basic/XRayLists.cpp
   30   if (AlwaysInstrument->inSection("xray_always_instrument", "fun", FunctionName,
   32       AttrList->inSection("always", "fun", FunctionName, "arg1"))
   34   if (AlwaysInstrument->inSection("xray_always_instrument", "fun",
   36       AttrList->inSection("always", "fun", FunctionName))
   39   if (NeverInstrument->inSection("xray_never_instrument", "fun",
   41       AttrList->inSection("never", "fun", FunctionName))
   50   if (AlwaysInstrument->inSection("xray_always_instrument", "src", Filename,
   52       AttrList->inSection("always", "src", Filename, Category))
   54   if (NeverInstrument->inSection("xray_never_instrument", "src", Filename,
   56       AttrList->inSection("never", "src", Filename, Category))
tools/llvm-cov/CoverageFilters.cpp
   39   return Whitelist.inSection("llvmcov", "whitelist_fun", Function.Name);
tools/sancov/sancov.cpp
  484         DefaultBlacklist->inSection("sancov", "fun", I.FunctionName))
  487         DefaultBlacklist->inSection("sancov", "src", I.FileName))
  490         UserBlacklist->inSection("sancov", "fun", I.FunctionName))
  492     if (UserBlacklist && UserBlacklist->inSection("sancov", "src", I.FileName))
unittests/Support/SpecialCaseListTest.cpp
   53   EXPECT_TRUE(SCL->inSection("", "src", "hello"));
   54   EXPECT_TRUE(SCL->inSection("", "src", "bye"));
   55   EXPECT_TRUE(SCL->inSection("", "src", "hi", "category"));
   56   EXPECT_TRUE(SCL->inSection("", "src", "zzzz", "category"));
   57   EXPECT_FALSE(SCL->inSection("", "src", "hi"));
   58   EXPECT_FALSE(SCL->inSection("", "fun", "hello"));
   59   EXPECT_FALSE(SCL->inSection("", "src", "hello", "category"));
  104   EXPECT_TRUE(SCL->inSection("arbitrary", "src", "global"));
  105   EXPECT_TRUE(SCL->inSection("", "src", "global"));
  106   EXPECT_TRUE(SCL->inSection("sect1", "src", "test1"));
  107   EXPECT_FALSE(SCL->inSection("sect1-arbitrary", "src", "test1"));
  108   EXPECT_FALSE(SCL->inSection("sect", "src", "test1"));
  109   EXPECT_FALSE(SCL->inSection("sect1", "src", "test2"));
  110   EXPECT_TRUE(SCL->inSection("sect2", "src", "test1"));
  111   EXPECT_TRUE(SCL->inSection("sect3", "src", "test2"));
  112   EXPECT_TRUE(SCL->inSection("sect3-arbitrary", "src", "test2"));
  113   EXPECT_FALSE(SCL->inSection("", "src", "test1"));
  114   EXPECT_FALSE(SCL->inSection("", "src", "test2"));
  120   EXPECT_FALSE(SCL->inSection("", "global", "foo"));
  121   EXPECT_FALSE(SCL->inSection("", "global", "bar"));
  122   EXPECT_TRUE(SCL->inSection("", "global", "foo", "init"));
  123   EXPECT_FALSE(SCL->inSection("", "global", "bar", "init"));
  126   EXPECT_FALSE(SCL->inSection("", "type", "t1"));
  127   EXPECT_FALSE(SCL->inSection("", "type", "t2"));
  128   EXPECT_FALSE(SCL->inSection("", "type", "t1", "init"));
  129   EXPECT_TRUE(SCL->inSection("", "type", "t2", "init"));
  132   EXPECT_FALSE(SCL->inSection("", "src", "hello"));
  133   EXPECT_FALSE(SCL->inSection("", "src", "bye"));
  134   EXPECT_TRUE(SCL->inSection("", "src", "hello", "init"));
  135   EXPECT_FALSE(SCL->inSection("", "src", "bye", "init"));
  142   EXPECT_FALSE(SCL->inSection("", "src", "othello"));
  143   EXPECT_FALSE(SCL->inSection("", "fun", "tomfoolery"));
  144   EXPECT_FALSE(SCL->inSection("", "global", "bartender"));
  147   EXPECT_TRUE(SCL->inSection("", "fun", "tomfoolery"));
  148   EXPECT_TRUE(SCL->inSection("", "fun", "foobar"));
  170   EXPECT_FALSE(SCL->inSection("", "foo", "bar"));
  181   EXPECT_TRUE(SCL->inSection("", "src", "bar"));
  182   EXPECT_TRUE(SCL->inSection("", "src", "baz"));
  183   EXPECT_FALSE(SCL->inSection("", "src", "ban"));
  184   EXPECT_TRUE(SCL->inSection("", "src", "ban", "init"));
  185   EXPECT_TRUE(SCL->inSection("", "src", "tomfoolery"));
  186   EXPECT_TRUE(SCL->inSection("", "src", "tomfoglery"));
  194   EXPECT_TRUE(SCL->inSection("", "fun", "bar"));
  195   EXPECT_FALSE(SCL->inSection("", "fun", "baz"));
  196   EXPECT_TRUE(SCL->inSection("", "fun", "zakaz"));
  197   EXPECT_FALSE(SCL->inSection("", "fun", "zaraza"));
  203   EXPECT_TRUE(SCL->inSection("", "fun", "abara"));
  204   EXPECT_FALSE(SCL->inSection("", "fun", "bor"));
  205   EXPECT_TRUE(SCL->inSection("", "fun", "zakaz"));
  206   EXPECT_FALSE(SCL->inSection("", "fun", "zaraza"));
  212   EXPECT_TRUE(SCL->inSection("", "fun", "bara"));
  213   EXPECT_FALSE(SCL->inSection("", "fun", "abara"));
  214   EXPECT_TRUE(SCL->inSection("", "fun", "barbarbarbar"));
  215   EXPECT_TRUE(SCL->inSection("", "fun", "abarbarbarbar"));
  216   EXPECT_FALSE(SCL->inSection("", "fun", "abarbarbar"));
  221   EXPECT_TRUE(SCL->inSection("", "src", "c++abi"));
  222   EXPECT_FALSE(SCL->inSection("", "src", "c\\+\\+abi"));
  230   EXPECT_TRUE(SCL->inSection("", "fun", "aaa"));
  231   EXPECT_TRUE(SCL->inSection("", "fun", "aaaa"));
  232   EXPECT_TRUE(SCL->inSection("", "fun", "aaaabbbaaa"));
  238   EXPECT_TRUE(SCL->inSection("", "src", "dir/c++abi"));
  239   EXPECT_FALSE(SCL->inSection("", "src", "dir/c\\+\\+abi"));
  240   EXPECT_FALSE(SCL->inSection("", "src", "c\\+\\+abi"));
  241   EXPECT_TRUE(SCL->inSection("", "src", "C:\\hello\\world"));
  242   EXPECT_TRUE(SCL->inSection("", "src", "hello\\world"));
  243   EXPECT_FALSE(SCL->inSection("", "src", "hello\\\\world"));