#include "DwarfGenerator.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
#include "llvm/DebugInfo/DWARF/DWARFDie.h"
#include "llvm/DebugInfo/DWARF/DWARFExpression.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Testing/Support/Error.h"
#include "gtest/gtest.h"
usingnamespacellvm;
usingnamespacedwarf;
namespace {
class DWARFExpressionCompactPrinterTest : public ::testing::Test { … };
}
void DWARFExpressionCompactPrinterTest::TestExprPrinter(
ArrayRef<uint8_t> ExprData, StringRef Expected) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_reg0) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_reg10) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_regx) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_breg0) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_breg0_large_offset) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_breg13) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_breg13_zero_offset) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_breg0_negative) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_bregx) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_stack_value) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_entry_value) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_entry_value_mem) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_nop) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_LLVM_nop) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_nop_OP_reg) { … }
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_LLVM_nop_OP_reg) { … }