#include "gtest/gtest.h"
#include "Plugins/ObjectFile/ELF/ObjectFileELF.h"
#include "Plugins/Process/Utility/RegisterContext_x86.h"
#include "Plugins/SymbolFile/Symtab/SymbolFileSymtab.h"
#include "TestingSupport/SubsystemRAII.h"
#include "TestingSupport/TestUtilities.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Core/Section.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Symbol/DWARFCallFrameInfo.h"
#include "lldb/Utility/StreamString.h"
#include "llvm/Testing/Support/Error.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/raw_ostream.h"
usingnamespacelldb_private;
usingnamespacelldb;
class DWARFCallFrameInfoTest : public testing::Test { … };
namespace lldb_private {
static std::ostream &operator<<(std::ostream &OS, const UnwindPlan::Row &row) { … }
}
static UnwindPlan::Row GetExpectedRow0() { … }
static UnwindPlan::Row GetExpectedRow1() { … }
static UnwindPlan::Row GetExpectedRow2() { … }
void DWARFCallFrameInfoTest::TestBasic(DWARFCallFrameInfo::Type type,
llvm::StringRef symbol) { … }
TEST_F(DWARFCallFrameInfoTest, Basic_dwarf3) { … }
TEST_F(DWARFCallFrameInfoTest, Basic_dwarf4) { … }
TEST_F(DWARFCallFrameInfoTest, Basic_eh) { … }