Home | History | Annotate | Download | only in unittests

Lines Matching full:builder

61   IRBuilder builder(module, config);
63 // builder.CreateInput("./test.o");
65 if (linker.link(module, builder))
102 IRBuilder builder(module, config);
107 builder.ReadInput("crtbegin", crtbegin);
112 builder.ReadInput("plasma", plasma);
115 builder.ReadInput("m");
116 builder.ReadInput("log");
117 builder.ReadInput("jnigraphics");
118 builder.ReadInput("c");
123 builder.ReadInput("crtend", crtend);
125 if (linker.link(module, builder)) {
284 // Can not delete builder until emit the output. Dynamic string table
355 IRBuilder builder(module, config);
359 Input* input = builder.CreateInput("gotplt.o", gotplt_o, Input::Object);
363 builder.CreateELFHeader(*input,
370 LDSection* text = builder.CreateELFHeader(*input,
376 SectionData* text_data = builder.CreateSectionData(*text);
381 Fragment* text_frag = builder.CreateRegion(text_content, 0x10);
382 builder.AppendFragment(*text_frag, *text_data);
385 LDSection* rel_text = builder.CreateELFHeader(*input,
390 builder.CreateRelocData(*rel_text);
393 LDSection* data = builder.CreateELFHeader(*input,
400 LDSection* bss = builder.CreateELFHeader(*input,
405 builder.CreateBSS(*bss);
408 LDSection* attr = builder.CreateELFHeader(*input,
414 SectionData* attr_data = builder.CreateSectionData(*attr);
424 Fragment* attr_frag = builder.CreateRegion(attr_content, 0x20);
425 builder.AppendFragment(*attr_frag, *attr_data);
429 builder.AddSymbol(*input,
433 builder.AddSymbol(*input,
437 builder.AddSymbol(*input,
441 builder.AddSymbol(*input,
445 builder.AddSymbol(*input,
449 builder.AddSymbol(*input,
457 LDSymbol* z1gv = builder.AddSymbol(*input,
467 builder.AddRelocation(*rel_text, llvm::ELF::R_ARM_PLT32, *z1gv, 0x4);
469 if (linker.link(module, builder)) {