Lines Matching refs:Alloc
26 BumpPtrAllocator Alloc; member in __anon92ecf24f0111::DIEHashTest
41 DIE &Die = *DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
43 Die.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Size); in TEST_F()
50 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
52 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
55 Unnamed.addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
56 Unnamed.addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, One); in TEST_F()
65 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
68 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
69 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
79 DIE &CU = *DIE::get(Alloc, dwarf::DW_TAG_compile_unit); in TEST_F()
81 auto Space = DIE::get(Alloc, dwarf::DW_TAG_namespace); in TEST_F()
84 Space->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, SpaceStr); in TEST_F()
86 Space->addValue(Alloc, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag_present, in TEST_F()
90 auto Foo = DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
92 Foo->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
93 Foo->addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
107 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
109 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Four); in TEST_F()
111 DIE &Int = *DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
113 Int.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, IntStr); in TEST_F()
114 Int.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Four); in TEST_F()
116 Int.addValue(Alloc, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, Five); in TEST_F()
120 auto Member = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
122 Member->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemberStr); in TEST_F()
124 Member->addValue(Alloc, dwarf::DW_AT_data_member_location, in TEST_F()
126 Member->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntRef); in TEST_F()
137 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
139 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
142 DIE &Int = *DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
144 Int.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, IntStr); in TEST_F()
145 Int.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Four); in TEST_F()
147 Int.addValue(Alloc, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, Five); in TEST_F()
151 auto Mem1 = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
153 Mem1->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, Mem1Str); in TEST_F()
155 Mem1->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
157 Mem1->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntRef); in TEST_F()
161 auto Mem2 = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
163 Mem2->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, Mem2Str); in TEST_F()
164 Mem2->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
166 Mem2->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntRef); in TEST_F()
177 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
179 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
181 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
183 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
185 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
187 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooRef); in TEST_F()
199 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
201 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
203 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
205 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
207 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
209 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
212 DIE &FooPtr = *DIE::get(Alloc, dwarf::DW_TAG_pointer_type); in TEST_F()
213 FooPtr.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
215 FooPtr.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooRef); in TEST_F()
218 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooPtrRef); in TEST_F()
229 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
231 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
233 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
235 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
237 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
239 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
242 DIE &FooRef = *DIE::get(Alloc, dwarf::DW_TAG_reference_type); in TEST_F()
243 FooRef.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
245 FooRef.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooEntry); in TEST_F()
247 DIE &FooRefConst = *DIE::get(Alloc, dwarf::DW_TAG_const_type); in TEST_F()
249 FooRefConst.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
253 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooRefConstRef); in TEST_F()
264 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
266 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
268 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
270 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
272 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
274 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
277 DIE &FooRef = *DIE::get(Alloc, dwarf::DW_TAG_rvalue_reference_type); in TEST_F()
278 FooRef.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
280 FooRef.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooEntry); in TEST_F()
282 DIE &FooRefConst = *DIE::get(Alloc, dwarf::DW_TAG_const_type); in TEST_F()
284 FooRefConst.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
288 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooRefConstRef); in TEST_F()
299 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
301 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
303 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
305 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
307 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
309 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
312 DIE &PtrToFooMem = *DIE::get(Alloc, dwarf::DW_TAG_ptr_to_member_type); in TEST_F()
314 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooEntry); in TEST_F()
315 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_containing_type, dwarf::DW_FORM_ref4, in TEST_F()
319 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, PtrToFooMemRef); in TEST_F()
342 DIE &Bar = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
343 Bar.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, BarStr); in TEST_F()
344 Bar.addValue(Alloc, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag_present, in TEST_F()
347 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
348 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
349 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
351 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
352 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
353 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, in TEST_F()
356 DIE &PtrToFooMem = *DIE::get(Alloc, dwarf::DW_TAG_ptr_to_member_type); in TEST_F()
358 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
361 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_containing_type, in TEST_F()
365 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
374 DIE &Bar = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
375 Bar.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, BarStr); in TEST_F()
376 Bar.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
378 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
379 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
380 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
382 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
383 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
384 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, in TEST_F()
387 DIE &PtrToFooMem = *DIE::get(Alloc, dwarf::DW_TAG_ptr_to_member_type); in TEST_F()
389 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
392 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_containing_type, in TEST_F()
396 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
420 DIE &Bar = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
421 Bar.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, BarStr); in TEST_F()
422 Bar.addValue(Alloc, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag_present, in TEST_F()
425 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
426 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
427 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
429 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
430 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
431 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, in TEST_F()
434 DIE &PtrToFooMem = *DIE::get(Alloc, dwarf::DW_TAG_ptr_to_member_type); in TEST_F()
436 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
438 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_containing_type, in TEST_F()
442 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
451 DIE &Bar = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
452 Bar.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, BarStr); in TEST_F()
453 Bar.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
455 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
456 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
457 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
459 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
460 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
461 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, in TEST_F()
464 DIE &PtrToFooMem = *DIE::get(Alloc, dwarf::DW_TAG_ptr_to_member_type); in TEST_F()
466 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
468 PtrToFooMem.addValue(Alloc, dwarf::DW_AT_containing_type, in TEST_F()
472 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
496 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
497 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
499 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
500 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Eight); in TEST_F()
501 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
503 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
504 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
505 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
508 DIE &UnnamedPtr = *DIE::get(Alloc, dwarf::DW_TAG_pointer_type); in TEST_F()
509 UnnamedPtr.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, in TEST_F()
512 UnnamedPtr.addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, in TEST_F()
516 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, UnnamedPtrRef); in TEST_F()
527 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
529 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
531 auto Foo = DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
533 Foo->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
534 Foo->addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
546 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
548 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
550 auto Func = DIE::get(Alloc, dwarf::DW_TAG_subprogram); in TEST_F()
552 Func->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FuncStr); in TEST_F()
566 DIE &A = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
569 A.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, AStr); in TEST_F()
570 A.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
571 A.addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
572 A.addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, One); in TEST_F()
574 auto Func = DIE::get(Alloc, dwarf::DW_TAG_subprogram); in TEST_F()
578 Func->addValue(Alloc, dwarf::DW_AT_external, dwarf::DW_FORM_flag_present, in TEST_F()
580 Func->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FuncStr); in TEST_F()
581 Func->addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
582 Func->addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, Two); in TEST_F()
583 Func->addValue(Alloc, dwarf::DW_AT_linkage_name, dwarf::DW_FORM_strp, in TEST_F()
585 Func->addValue(Alloc, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag_present, in TEST_F()
602 DIE &A = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
605 A.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, AStr); in TEST_F()
606 A.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
607 A.addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
608 A.addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, One); in TEST_F()
613 DIE &IntTyDIE = *DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
614 IntTyDIE.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Four); in TEST_F()
615 IntTyDIE.addValue(Alloc, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, Five); in TEST_F()
616 IntTyDIE.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FStr); in TEST_F()
619 auto PITyDIE = DIE::get(Alloc, dwarf::DW_TAG_const_type); in TEST_F()
620 PITyDIE->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntTy); in TEST_F()
623 auto PI = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
627 PI->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, PIStr); in TEST_F()
628 PI->addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
629 PI->addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, Two); in TEST_F()
630 PI->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, PITy); in TEST_F()
631 PI->addValue(Alloc, dwarf::DW_AT_external, dwarf::DW_FORM_flag_present, One); in TEST_F()
632 PI->addValue(Alloc, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag_present, in TEST_F()
634 PI->addValue(Alloc, dwarf::DW_AT_const_value, dwarf::DW_FORM_sdata, NegThree); in TEST_F()
648 DIE &A = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
651 A.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, AStr); in TEST_F()
652 A.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
653 A.addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
654 A.addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, One); in TEST_F()
658 auto FloatTyDIE = DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
659 FloatTyDIE->addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, in TEST_F()
661 FloatTyDIE->addValue(Alloc, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, in TEST_F()
663 FloatTyDIE->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FStr); in TEST_F()
665 auto PITyDIE = DIE::get(Alloc, dwarf::DW_TAG_const_type); in TEST_F()
666 PITyDIE->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FloatTy); in TEST_F()
669 auto PI = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
672 PI->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, PIStr); in TEST_F()
673 PI->addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
674 PI->addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, Two); in TEST_F()
675 PI->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, PITy); in TEST_F()
676 PI->addValue(Alloc, dwarf::DW_AT_external, dwarf::DW_FORM_flag_present, One); in TEST_F()
677 PI->addValue(Alloc, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag_present, in TEST_F()
686 PIBlock.addValue(Alloc, (dwarf::Attribute)0, dwarf::DW_FORM_data1, Blk1); in TEST_F()
687 PIBlock.addValue(Alloc, (dwarf::Attribute)0, dwarf::DW_FORM_data1, Blk2); in TEST_F()
688 PIBlock.addValue(Alloc, (dwarf::Attribute)0, dwarf::DW_FORM_data1, Blk3); in TEST_F()
689 PIBlock.addValue(Alloc, (dwarf::Attribute)0, dwarf::DW_FORM_data1, Blk4); in TEST_F()
691 PI->addValue(Alloc, dwarf::DW_AT_const_value, dwarf::DW_FORM_block1, in TEST_F()