Lines Matching refs:Prologue
135 DWARFDebugLine::Prologue Prologue, in checkDefaultPrologue() argument
144 EXPECT_EQ(Prologue.MaxOpsPerInst, 1u); in checkDefaultPrologue()
154 EXPECT_EQ(Prologue.getAddressSize(), 8u); in checkDefaultPrologue()
155 EXPECT_EQ(Prologue.SegSelectorSize, 0u); in checkDefaultPrologue()
162 EXPECT_EQ(Prologue.TotalLength, UnitLength); in checkDefaultPrologue()
163 EXPECT_EQ(Prologue.PrologueLength, PrologueLength); in checkDefaultPrologue()
164 EXPECT_EQ(Prologue.MinInstLength, 1u); in checkDefaultPrologue()
165 EXPECT_EQ(Prologue.DefaultIsStmt, 1u); in checkDefaultPrologue()
166 EXPECT_EQ(Prologue.LineBase, -5); in checkDefaultPrologue()
167 EXPECT_EQ(Prologue.LineRange, 14u); in checkDefaultPrologue()
168 EXPECT_EQ(Prologue.OpcodeBase, 13u); in checkDefaultPrologue()
170 EXPECT_EQ(Prologue.StandardOpcodeLengths, ExpectedLengths); in checkDefaultPrologue()
171 ASSERT_EQ(Prologue.IncludeDirectories.size(), 1u); in checkDefaultPrologue()
172 ASSERT_EQ(Prologue.IncludeDirectories[0].getForm(), DW_FORM_string); in checkDefaultPrologue()
173 EXPECT_STREQ(*Prologue.IncludeDirectories[0].getAsCString(), "a dir"); in checkDefaultPrologue()
174 ASSERT_EQ(Prologue.FileNames.size(), 1u); in checkDefaultPrologue()
175 ASSERT_EQ(Prologue.FileNames[0].Name.getForm(), DW_FORM_string); in checkDefaultPrologue()
176 ASSERT_EQ(Prologue.FileNames[0].DirIdx, 0u); in checkDefaultPrologue()
177 EXPECT_STREQ(*Prologue.FileNames[0].Name.getAsCString(), "a file"); in checkDefaultPrologue()
227 DWARFDebugLine::Prologue Prologue = LT.createBasicPrologue(); in TEST_P() local
228 LT.setPrologue(Prologue); in TEST_P()
232 uint64_t ExpectedLength = Prologue.PrologueLength + 10; in TEST_P()
243 EXPECT_EQ((*ExpectedLineTable)->Prologue.getLength(), ExpectedLength); in TEST_P()
276 checkDefaultPrologue(Version, Format, Expected->Prologue, 16); in TEST_P()
280 Expected->Prologue.sizeofTotalLength() + Expected->Prologue.TotalLength; in TEST_P()
287 checkDefaultPrologue(Version, Format, Expected2->Prologue, 32); in TEST_P()
406 DWARFDebugLine::Prologue Prologue = LT.createBasicPrologue(); in TEST_P() local
407 ++Prologue.PrologueLength; in TEST_P()
408 LT.setPrologue(Prologue); in TEST_P()
418 --Result.Prologue.PrologueLength; in TEST_P()
419 checkDefaultPrologue(Version, Format, Result.Prologue, 0); in TEST_P()
422 Prologue.TotalLength + 1 + Prologue.sizeofTotalLength(); in TEST_P()
442 DWARFDebugLine::Prologue Prologue = LT.createBasicPrologue(); in TEST_P() local
443 Prologue.PrologueLength -= 2; in TEST_P()
444 LT.setPrologue(Prologue); in TEST_P()
454 ASSERT_EQ(Result.Prologue.IncludeDirectories.size(), 1u); in TEST_P()
455 EXPECT_EQ(toStringRef(Result.Prologue.IncludeDirectories[0]), "a dir"); in TEST_P()
456 EXPECT_EQ(Result.Prologue.FileNames.size(), 0u); in TEST_P()
461 uint64_t ExpectedEnd = Prologue.TotalLength + Prologue.sizeofTotalLength() - in TEST_P()
557 DWARFDebugLine::Prologue Prologue = LT.createBasicPrologue(); in TEST_F() local
559 ++Prologue.TotalLength; in TEST_F()
560 LT.setPrologue(Prologue); in TEST_F()
706 DWARFDebugLine::Prologue Prologue = LT.createBasicPrologue(); in TEST_F() local
707 Prologue.FormParams.AddrSize = AddressSize; in TEST_F()
708 LT.setPrologue(Prologue); in TEST_F()
853 (*ExpectedTable)->Prologue.getLength() + in checkTable()
937 DWARFDebugLine::Prologue Prologue = LT.createBasicPrologue(); in editPrologue() local
938 Prologue.MaxOpsPerInst = MaxOpsPerInst; in editPrologue()
939 LT.setPrologue(Prologue); in editPrologue()
940 return Prologue.TotalLength + Prologue.sizeofTotalLength(); in editPrologue()
966 DWARFDebugLine::Prologue Prologue = LT.createBasicPrologue(); in editPrologue() local
967 Prologue.LineRange = LineRange; in editPrologue()
968 LT.setPrologue(Prologue); in editPrologue()
969 return Prologue.TotalLength + Prologue.sizeofTotalLength(); in editPrologue()
1008 DWARFDebugLine::Prologue Prologue = LT.createBasicPrologue(); in editPrologue() local
1009 Prologue.MinInstLength = MinInstLength; in editPrologue()
1010 LT.setPrologue(Prologue); in editPrologue()
1011 return Prologue.TotalLength + Prologue.sizeofTotalLength(); in editPrologue()
1047 checkDefaultPrologue(4, DWARF32, Parsed.Prologue, 16); in TEST_F()
1054 checkDefaultPrologue(4, DWARF64, Parsed2.Prologue, 16); in TEST_F()
1282 DWARFDebugLine::Prologue Prologue = LT.createBasicPrologue(); in TEST_F() local
1283 Prologue.TotalLength += 2; in TEST_F()
1284 Prologue.PrologueLength += 2; in TEST_F()
1285 Prologue.OpcodeBase += 2; in TEST_F()
1286 Prologue.StandardOpcodeLengths.push_back(2); in TEST_F()
1287 Prologue.StandardOpcodeLengths.push_back(0); in TEST_F()
1288 LT.setPrologue(Prologue); in TEST_F()
1408 DWARFDebugLine::Prologue InputPrologue = Table.createBasicPrologue(); in TEST_P()
1417 DWARFDebugLine::Prologue Prologue; in TEST_P() local
1419 Error Err = Prologue.parse(LineData, &Offset, RecordRecoverable, *Context); in TEST_P()
1514 DWARFDebugLine::Prologue Prologue = LT.createBasicPrologue(); in setupTable() local
1518 Prologue.TotalLength += BodyLength + 1; in setupTable()
1519 ++Prologue.PrologueLength; in setupTable()
1520 ++Prologue.OpcodeBase; in setupTable()
1521 Prologue.StandardOpcodeLengths.push_back(2); in setupTable()
1522 LT.setPrologue(Prologue); in setupTable()
1714 DWARFDebugLine::Prologue P = LT.createBasicPrologue(); in TEST_F()
1736 ->Prologue.getFileNameByIndex( in TEST_F()
1739 ->Prologue.getFileNameByIndex( in TEST_F()
1743 ->Prologue.getFileNameByIndex( in TEST_F()
1749 ->Prologue.getFileNameByIndex( in TEST_F()
1755 ->Prologue.getFileNameByIndex( in TEST_F()