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

Declarations

include/llvm/DebugInfo/DWARF/DWARFVerifier.h
   83     bool contains(const DieRangeInfo &RHS) const;

References

lib/DebugInfo/DWARF/DWARFVerifier.cpp
  425   if (ShouldBeContained && !ParentRI.contains(RI)) {
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
 2988   ASSERT_TRUE(Empty.contains(Empty));
 2993   ASSERT_TRUE(Ranges.contains(Empty));
 2994   ASSERT_FALSE(Ranges.contains({{{0x0f, 0x10}}}));
 2995   ASSERT_FALSE(Ranges.contains({{{0x0f, 0x20}}}));
 2996   ASSERT_FALSE(Ranges.contains({{{0x0f, 0x21}}}));
 2999   ASSERT_TRUE(Ranges.contains({{{0x10, 0x10}}}));
 3000   ASSERT_TRUE(Ranges.contains({{{0x10, 0x11}}}));
 3001   ASSERT_TRUE(Ranges.contains({{{0x10, 0x20}}}));
 3002   ASSERT_FALSE(Ranges.contains({{{0x10, 0x21}}}));
 3004   ASSERT_TRUE(Ranges.contains({{{0x11, 0x12}}}));
 3007   ASSERT_TRUE(Ranges.contains({{{0x1f, 0x20}}}));
 3008   ASSERT_FALSE(Ranges.contains({{{0x1f, 0x21}}}));
 3011   ASSERT_TRUE(Ranges.contains({{{0x20, 0x20}}}));
 3012   ASSERT_FALSE(Ranges.contains({{{0x20, 0x21}}}));
 3014   ASSERT_TRUE(Ranges.contains({{{0x31, 0x32}}}));
 3015   ASSERT_TRUE(Ranges.contains({{{0x3f, 0x40}}}));
 3016   ASSERT_TRUE(Ranges.contains({{{0x10, 0x20}, {0x30, 0x40}}}));
 3017   ASSERT_TRUE(Ranges.contains({{{0x11, 0x12}, {0x31, 0x32}}}));
 3018   ASSERT_TRUE(Ranges.contains(
 3020   ASSERT_FALSE(Ranges.contains({{{0x11, 0x12},
 3025   ASSERT_FALSE(Ranges.contains(
 3027   ASSERT_TRUE(Ranges.contains({{{0x11, 0x12}, {0x30, 0x50}}}));
 3028   ASSERT_FALSE(Ranges.contains({{{0x30, 0x51}}}));
 3029   ASSERT_FALSE(Ranges.contains({{{0x50, 0x51}}}));