• Home
  • Raw
  • Download

Lines Matching refs:Alloc

28   BumpPtrAllocator Alloc;  member in __anona180f17d0111::DIEHashTest
57 DIE &Die = *DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
59 Die.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Size); in TEST_F()
66 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
68 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
71 Unnamed.addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
72 Unnamed.addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, One); in TEST_F()
81 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
84 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
85 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
95 DIE &CU = *DIE::get(Alloc, dwarf::DW_TAG_compile_unit); in TEST_F()
97 auto Space = DIE::get(Alloc, dwarf::DW_TAG_namespace); in TEST_F()
100 Space->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, SpaceStr); in TEST_F()
102 Space->addValue(Alloc, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag_present, in TEST_F()
106 auto Foo = DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
108 Foo->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
109 Foo->addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
123 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
125 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Four); in TEST_F()
127 DIE &Int = *DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
129 Int.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, IntStr); in TEST_F()
130 Int.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Four); in TEST_F()
132 Int.addValue(Alloc, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, Five); in TEST_F()
136 auto Member = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
138 Member->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemberStr); in TEST_F()
140 Member->addValue(Alloc, dwarf::DW_AT_data_member_location, in TEST_F()
142 Member->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntRef); in TEST_F()
153 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
155 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
158 DIE &Int = *DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
160 Int.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, IntStr); in TEST_F()
161 Int.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Four); in TEST_F()
163 Int.addValue(Alloc, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, Five); in TEST_F()
167 auto Mem1 = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
169 Mem1->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, Mem1Str); in TEST_F()
171 Mem1->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
173 Mem1->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntRef); in TEST_F()
177 auto Mem2 = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
179 Mem2->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, Mem2Str); in TEST_F()
180 Mem2->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
182 Mem2->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntRef); in TEST_F()
193 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
195 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
197 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
199 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
201 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
203 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooRef); in TEST_F()
215 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
217 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
219 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
221 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
223 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
225 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
228 DIE &FooPtr = *DIE::get(Alloc, dwarf::DW_TAG_pointer_type); in TEST_F()
229 FooPtr.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
231 FooPtr.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooRef); in TEST_F()
234 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooPtrRef); in TEST_F()
245 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
247 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
249 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
251 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
253 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
255 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
258 DIE &FooRef = *DIE::get(Alloc, dwarf::DW_TAG_reference_type); in TEST_F()
259 FooRef.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
261 FooRef.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooEntry); in TEST_F()
263 DIE &FooRefConst = *DIE::get(Alloc, dwarf::DW_TAG_const_type); in TEST_F()
265 FooRefConst.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
269 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooRefConstRef); in TEST_F()
280 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
282 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
284 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
286 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
288 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
290 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
293 DIE &FooRef = *DIE::get(Alloc, dwarf::DW_TAG_rvalue_reference_type); in TEST_F()
294 FooRef.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
296 FooRef.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooEntry); in TEST_F()
298 DIE &FooRefConst = *DIE::get(Alloc, dwarf::DW_TAG_const_type); in TEST_F()
300 FooRefConst.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
304 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooRefConstRef); in TEST_F()
315 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
317 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
319 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
321 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
323 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
325 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
328 DIE &PtrToFooMem = *DIE::get(Alloc, dwarf::DW_TAG_ptr_to_member_type); in TEST_F()
330 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooEntry); in TEST_F()
331 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_containing_type, dwarf::DW_FORM_ref4, in TEST_F()
335 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, PtrToFooMemRef); in TEST_F()
358 DIE &Bar = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
359 Bar.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, BarStr); in TEST_F()
360 Bar.addValue(Alloc, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag_present, in TEST_F()
363 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
364 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
365 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
367 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
368 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
369 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, in TEST_F()
372 DIE &PtrToFooMem = *DIE::get(Alloc, dwarf::DW_TAG_ptr_to_member_type); in TEST_F()
374 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
377 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_containing_type, in TEST_F()
381 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
390 DIE &Bar = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
391 Bar.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, BarStr); in TEST_F()
392 Bar.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
394 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
395 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
396 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
398 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
399 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
400 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, in TEST_F()
403 DIE &PtrToFooMem = *DIE::get(Alloc, dwarf::DW_TAG_ptr_to_member_type); in TEST_F()
405 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
408 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_containing_type, in TEST_F()
412 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
436 DIE &Bar = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
437 Bar.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, BarStr); in TEST_F()
438 Bar.addValue(Alloc, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag_present, in TEST_F()
441 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
442 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
443 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
445 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
446 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
447 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, in TEST_F()
450 DIE &PtrToFooMem = *DIE::get(Alloc, dwarf::DW_TAG_ptr_to_member_type); in TEST_F()
452 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
454 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_containing_type, in TEST_F()
458 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
467 DIE &Bar = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
468 Bar.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, BarStr); in TEST_F()
469 Bar.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
471 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
472 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
473 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
475 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
476 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
477 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, in TEST_F()
480 DIE &PtrToFooMem = *DIE::get(Alloc, dwarf::DW_TAG_ptr_to_member_type); in TEST_F()
482 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
484 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_containing_type, in TEST_F()
488 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
512 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
513 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
515 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
516 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
517 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
519 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
520 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
521 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
524 DIE &UnnamedPtr = *DIE::get(Alloc, dwarf::DW_TAG_pointer_type); in TEST_F()
525 UnnamedPtr.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, in TEST_F()
528 UnnamedPtr.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
532 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, UnnamedPtrRef); in TEST_F()
543 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
545 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
547 auto Foo = DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
549 Foo->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
550 Foo->addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
562 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
564 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
566 auto Func = DIE::get(Alloc, dwarf::DW_TAG_subprogram); in TEST_F()
568 Func->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FuncStr); in TEST_F()
582 DIE &A = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
585 A.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, AStr); in TEST_F()
586 A.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
587 A.addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
588 A.addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, One); in TEST_F()
590 auto Func = DIE::get(Alloc, dwarf::DW_TAG_subprogram); in TEST_F()
594 Func->addValue(Alloc, dwarf::DW_AT_external, dwarf::DW_FORM_flag_present, in TEST_F()
596 Func->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FuncStr); in TEST_F()
597 Func->addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
598 Func->addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, Two); in TEST_F()
599 Func->addValue(Alloc, dwarf::DW_AT_linkage_name, dwarf::DW_FORM_strp, in TEST_F()
601 Func->addValue(Alloc, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag_present, in TEST_F()
618 DIE &A = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
621 A.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, AStr); in TEST_F()
622 A.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
623 A.addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
624 A.addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, One); in TEST_F()
629 DIE &IntTyDIE = *DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
630 IntTyDIE.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Four); in TEST_F()
631 IntTyDIE.addValue(Alloc, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, Five); in TEST_F()
632 IntTyDIE.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FStr); in TEST_F()
635 auto PITyDIE = DIE::get(Alloc, dwarf::DW_TAG_const_type); in TEST_F()
636 PITyDIE->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntTy); in TEST_F()
639 auto PI = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
643 PI->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, PIStr); in TEST_F()
644 PI->addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
645 PI->addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, Two); in TEST_F()
646 PI->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, PITy); in TEST_F()
647 PI->addValue(Alloc, dwarf::DW_AT_external, dwarf::DW_FORM_flag_present, One); in TEST_F()
648 PI->addValue(Alloc, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag_present, in TEST_F()
650 PI->addValue(Alloc, dwarf::DW_AT_const_value, dwarf::DW_FORM_sdata, NegThree); in TEST_F()
668 DIE &A = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
671 A.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, AStr); in TEST_F()
672 A.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
673 A.addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
674 A.addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, One); in TEST_F()
678 auto FloatTyDIE = DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
679 FloatTyDIE->addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, in TEST_F()
681 FloatTyDIE->addValue(Alloc, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, in TEST_F()
683 FloatTyDIE->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FStr); in TEST_F()
685 auto PITyDIE = DIE::get(Alloc, dwarf::DW_TAG_const_type); in TEST_F()
686 PITyDIE->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FloatTy); in TEST_F()
689 auto PI = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
692 PI->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, PIStr); in TEST_F()
693 PI->addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
694 PI->addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, Two); in TEST_F()
695 PI->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, PITy); in TEST_F()
696 PI->addValue(Alloc, dwarf::DW_AT_external, dwarf::DW_FORM_flag_present, One); in TEST_F()
697 PI->addValue(Alloc, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag_present, in TEST_F()
706 PIBlock.addValue(Alloc, (dwarf::Attribute)0, dwarf::DW_FORM_data1, Blk1); in TEST_F()
707 PIBlock.addValue(Alloc, (dwarf::Attribute)0, dwarf::DW_FORM_data1, Blk2); in TEST_F()
708 PIBlock.addValue(Alloc, (dwarf::Attribute)0, dwarf::DW_FORM_data1, Blk3); in TEST_F()
709 PIBlock.addValue(Alloc, (dwarf::Attribute)0, dwarf::DW_FORM_data1, Blk4); in TEST_F()
711 PI->addValue(Alloc, dwarf::DW_AT_const_value, dwarf::DW_FORM_block1, in TEST_F()