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

References

include/llvm/DebugInfo/GSYM/InlineInfo.h
   70     Ranges.clear();
   73   bool isValid() const { return !Ranges.empty(); }
  124          LHS.CallLine == RHS.CallLine && LHS.Ranges == RHS.Ranges &&
  124          LHS.CallLine == RHS.CallLine && LHS.Ranges == RHS.Ranges &&
lib/DebugInfo/GSYM/InlineInfo.cpp
   25   for (auto Range : II.Ranges) {
   41   if (II.Ranges.contains(Addr)) {
   79   Inline.Ranges.decode(Data, BaseAddr, Offset);
   80   if (Inline.Ranges.empty())
  102     const auto ChildBaseAddr = Inline.Ranges[0].Start;
  108       if (Child.get().Ranges.empty())
  129   Ranges.encode(O, BaseAddr);
  139     const uint64_t ChildBaseAddr = Ranges[0].Start;
  143       for (const auto &ChildRange: Child.Ranges) {
  144         if (!Ranges.contains(ChildRange))
unittests/DebugInfo/GSYM/GSYMTest.cpp
  141   FIWithLinesAndInline.Inline->Ranges.insert(
  273     FI.Inline->Ranges.insert(AddressRange(FuncAddr, FuncAddr + FuncSize));
  275     Inline1.Ranges.insert(AddressRange(FuncAddr + 0x10, FuncAddr + 0x30));
  322   const uint64_t BaseAddr = Inline.Ranges[0].Start;
  354   const uint64_t BaseAddr = Inline.Ranges.empty() ? 0 : Inline.Ranges[0].Start;
  354   const uint64_t BaseAddr = Inline.Ranges.empty() ? 0 : Inline.Ranges[0].Start;
  363   II.Ranges.insert(AddressRange(0x1000, 0x2000));
  383   Root.Ranges.insert(AddressRange(0x100, 0x200));
  385   Inline1.Ranges.insert(AddressRange(0x150, 0x160));
  390   Inline1Sub1.Ranges.insert(AddressRange(0x152, 0x155));
  395   Inline1Sub2.Ranges.insert(AddressRange(0x157, 0x158));
  407   EXPECT_FALSE(Root.getInlineStack(Root.Ranges[0].Start - 1));
  408   EXPECT_FALSE(Root.getInlineStack(Root.Ranges[0].End));
  412   EXPECT_FALSE(Root.getInlineStack(Inline1.Ranges[0].Start - 1));
  413   EXPECT_FALSE(Root.getInlineStack(Inline1.Ranges[0].End));
  417   auto InlineInfos = Root.getInlineStack(Inline1.Ranges[0].Start);
  421   InlineInfos = Root.getInlineStack(Inline1.Ranges[0].End - 1);
  428   InlineInfos = Root.getInlineStack(Inline1Sub1.Ranges[0].Start);
  433   InlineInfos = Root.getInlineStack(Inline1Sub1.Ranges[0].End - 1);
  441   InlineInfos = Root.getInlineStack(Inline1Sub2.Ranges[0].Start);
  446   InlineInfos = Root.getInlineStack(Inline1Sub2.Ranges[0].End - 1);
  470   ContainsEmpty.Ranges.insert({0x100,200});
  479   ChildNotContained.Ranges.insert({0x100,200});
  481   ChildNotContainedChild.Ranges.insert({0x200,300});