[Lldb-commits] [lldb] r359450 - Remove obsoleted NativePDB tests
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 29 07:00:58 PDT 2019
Author: labath
Date: Mon Apr 29 07:00:58 2019
New Revision: 359450
URL: http://llvm.org/viewvc/llvm-project?rev=359450&view=rev
Log:
Remove obsoleted NativePDB tests
Their functionality overlaps with the newly introduced
PostfixExpressionTests (r359288). Tests, which still exercise some
pdb-related functionality (register name resolution) have been kept.
Modified:
lldb/trunk/unittests/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpressionTests.cpp
Modified: lldb/trunk/unittests/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpressionTests.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpressionTests.cpp?rev=359450&r1=359449&r2=359450&view=diff
==============================================================================
--- lldb/trunk/unittests/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpressionTests.cpp (original)
+++ lldb/trunk/unittests/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpressionTests.cpp Mon Apr 29 07:00:58 2019
@@ -53,36 +53,10 @@ CheckValidProgramTranslation(llvm::Strin
result_dwarf_expression.GetString().data());
}
-TEST(PDBFPOProgramToDWARFExpressionTests, SingleAssignmentConst) {
- CheckValidProgramTranslation("$T0 0 = ", "$T0", "DW_OP_constu 0x0");
-}
-
TEST(PDBFPOProgramToDWARFExpressionTests, SingleAssignmentRegisterRef) {
CheckValidProgramTranslation("$T0 $ebp = ", "$T0", "DW_OP_breg6 +0");
}
-TEST(PDBFPOProgramToDWARFExpressionTests, SingleAssignmentExpressionPlus) {
- CheckValidProgramTranslation("$T0 $ebp 4 + = ", "$T0",
- "DW_OP_breg6 +0, DW_OP_constu 0x4, DW_OP_plus ");
-}
-
-TEST(PDBFPOProgramToDWARFExpressionTests, SingleAssignmentExpressionDeref) {
- CheckValidProgramTranslation("$T0 $ebp ^ = ", "$T0",
- "DW_OP_breg6 +0, DW_OP_deref ");
-}
-
-TEST(PDBFPOProgramToDWARFExpressionTests, SingleAssignmentExpressionMinus) {
- CheckValidProgramTranslation(
- "$T0 $ebp 4 - = ", "$T0",
- "DW_OP_breg6 +0, DW_OP_constu 0x4, DW_OP_minus ");
-}
-
-TEST(PDBFPOProgramToDWARFExpressionTests, SingleAssignmentExpressionAlign) {
- CheckValidProgramTranslation("$T0 $ebp 128 @ = ", "$T0",
- "DW_OP_breg6 +0, DW_OP_constu 0x80, DW_OP_lit1 "
- ", DW_OP_minus , DW_OP_not , DW_OP_and ");
-}
-
TEST(PDBFPOProgramToDWARFExpressionTests, MultipleIndependentAssignments) {
CheckValidProgramTranslation("$T1 1 = $T0 0 =", "$T0", "DW_OP_constu 0x0");
}
More information about the lldb-commits
mailing list