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

References

tools/lldb/unittests/Process/minidump/MinidumpParserTest.cpp
   51     parser = std::move(*expected_parser);
   52     ASSERT_GT(parser->GetData().size(), 0UL);
   69     parser = std::move(*expected_parser);
  111   thread_list = parser->GetThreads();
  118   llvm::ArrayRef<uint8_t> context = parser->GetThreadContext(thread);
  140             parser->GetArchitecture().GetMachine());
  142             parser->GetArchitecture().GetTriple().getOS());
  154   EXPECT_EQ(nullptr, parser->GetMiscInfo());
  186   llvm::Optional<LinuxProcStatus> proc_status = parser->GetLinuxProcStatus();
  221   llvm::Optional<lldb::pid_t> pid = parser->GetPid();
  243   llvm::ArrayRef<minidump::Module> modules = parser->GetModuleList();
  245       parser->GetFilteredModuleList();
  249   EXPECT_THAT_EXPECTED(parser->GetMinidumpFile().getString(M.ModuleNameRVA),
  256       parser->GetExceptionStream();
  282   EXPECT_EQ(llvm::None, parser->FindMemoryRange(0x00));
  283   EXPECT_EQ(llvm::None, parser->FindMemoryRange(0x2a));
  285             parser->FindMemoryRange(0x401d46));
  286   EXPECT_EQ(llvm::None, parser->FindMemoryRange(0x401d46 + 2));
  291       parser->FindMemoryRange(0x7ffceb34a000 + 2));
  292   EXPECT_EQ(llvm::None, parser->FindMemoryRange(0x7ffceb34a000 + 5));
  309   EXPECT_EQ((llvm::ArrayRef<uint8_t>{0x54}), parser->GetMemory(0x401d46, 1));
  311             parser->GetMemory(0x401d46, 4));
  314             parser->GetMemory(0x7ffceb34a000, 5));
  316             parser->GetMemory(0x7ffceb34a000, 3));
  318   EXPECT_EQ(llvm::ArrayRef<uint8_t>(), parser->GetMemory(0x500000, 512));
  325   EXPECT_FALSE(parser->FindMemoryRange(0x00).hasValue());
  326   EXPECT_FALSE(parser->FindMemoryRange(0x2a).hasValue());
  327   check_mem_range_exists(*parser, 0x10000, 65536); // first range
  328   check_mem_range_exists(*parser, 0x40000, 4096);
  329   EXPECT_FALSE(parser->FindMemoryRange(0x40000 + 4096).hasValue());
  330   check_mem_range_exists(*parser, 0x77c12000, 8192);
  331   check_mem_range_exists(*parser, 0x7ffe0000, 4096); // last range
  332   EXPECT_FALSE(parser->FindMemoryRange(0x7ffe0000 + 4096).hasValue());
  379       parser->BuildMemoryRegions(),
  412       parser->BuildMemoryRegions(),
  427       parser->BuildMemoryRegions(),
  458       parser->BuildMemoryRegions(),
  501             parser->GetArchitecture().GetMachine());
  503             parser->GetArchitecture().GetTriple().getOS());
  515   EXPECT_EQ(llvm::None, parser->GetLinuxProcStatus());
  520   const MinidumpMiscInfo *misc_info = parser->GetMiscInfo();
  529   llvm::Optional<lldb::pid_t> pid = parser->GetPid();
  537   llvm::Optional<lldb::pid_t> pid = parser->GetPid();
  560   llvm::ArrayRef<minidump::Thread> thread_list = parser->GetThreads();
  562   llvm::ArrayRef<uint8_t> registers(parser->GetThreadContext(thread));
  603   llvm::ArrayRef<minidump::Thread> thread_list = parser->GetThreads();
  605   llvm::ArrayRef<uint8_t> registers(parser->GetThreadContext(thread));
  638   llvm::ArrayRef<minidump::Thread> thread_list = parser->GetThreads();
  640   llvm::ArrayRef<uint8_t> registers(parser->GetThreadContextWow64(thread));
  688       parser->GetFilteredModuleList();
  714       parser->GetFilteredModuleList();
  718       parser->GetMinidumpFile().getString(filtered_modules[0]->ModuleNameRVA),
  722       parser->GetMinidumpFile().getString(filtered_modules[1]->ModuleNameRVA),