Commit 5402fd7f authored by John Zhang's avatar John Zhang

bug fix in init string

parent 3278d2ce
Pipeline #169 failed with stage
in 17 minutes and 18 seconds
#include <stdint.h>
extern uint32_t test_fnc(uint32_t* pi32);
int entry() {
uint32_t i;
return test_fnc(&i);
}
......@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_8;
MuID id_9;
MuID id_10;
mu = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx = mu->new_context(mu);
bldr = ctx->new_ir_builder(ctx);
id = bldr->gen_sym(bldr, "@i8");
......
......@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_78;
MuID id_79;
MuID id_80;
mu_8 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_8 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_8 = mu_8->new_context(mu_8);
bldr_8 = ctx_8->new_ir_builder(ctx_8);
id_71 = bldr_8->gen_sym(bldr_8, "@i64");
......
......@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
MuID id_244;
MuID id_245;
MuID id_246;
mu_19 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_19 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_19 = mu_19->new_context(mu_19);
bldr_19 = ctx_19->new_ir_builder(ctx_19);
id_232 = bldr_19->gen_sym(bldr_19, "@i64");
......
......@@ -37,7 +37,7 @@ int main(int argc, char** argv) {
MuID id_271;
MuID id_272;
MuID id_273;
mu_20 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_20 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_20 = mu_20->new_context(mu_20);
bldr_20 = ctx_20->new_ir_builder(ctx_20);
id_247 = bldr_20->gen_sym(bldr_20, "@i8");
......
......@@ -21,7 +21,7 @@ int main(int argc, char** argv) {
MuID id_282;
MuID id_283;
MuID id_284;
mu_21 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_21 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_21 = mu_21->new_context(mu_21);
bldr_21 = ctx_21->new_ir_builder(ctx_21);
id_274 = bldr_21->gen_sym(bldr_21, "@i64");
......@@ -45,7 +45,7 @@ int main(int argc, char** argv) {
bldr_21->new_bb(bldr_21, id_280, (MuID [1]){id_281}, (MuTypeNode [1]){id_274}, 1, MU_NO_ID, (MuInstNode [2]){id_283, id_284}, 2);
bldr_21->new_func_ver(bldr_21, id_279, id_278, (MuBBNode [1]){id_280}, 1);
bldr_21->load(bldr_21);
mu_21->compile_to_sharedlib(mu_21, "test_ccall.dylib", (char*[]){&"suite/test_ccall_fnc.c"}, 1);
mu_21->compile_to_sharedlib(mu_21, "test_ccall.dylib", (char*[]){&"../suite/test_ccall_fnc.c"}, 1);
printf("%s\n", "test_ccall.dylib");
return 0;
}
......@@ -18,7 +18,7 @@ int main(int argc, char** argv) {
MuID id_462;
MuID id_463;
MuID id_464;
mu_32 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_32 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_32 = mu_32->new_context(mu_32);
bldr_32 = ctx_32->new_ir_builder(ctx_32);
id_457 = bldr_32->gen_sym(bldr_32, "@i32");
......
......@@ -23,7 +23,7 @@ int main(int argc, char** argv) {
MuID id_101;
MuID id_102;
MuID id_103;
mu_10 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_10 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_10 = mu_10->new_context(mu_10);
bldr_10 = ctx_10->new_ir_builder(ctx_10);
id_91 = bldr_10->gen_sym(bldr_10, "@i1");
......
......@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
MuID id_116;
MuID id_117;
MuID id_118;
mu_11 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_11 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_11 = mu_11->new_context(mu_11);
bldr_11 = ctx_11->new_ir_builder(ctx_11);
id_104 = bldr_11->gen_sym(bldr_11, "@i1");
......
......@@ -27,7 +27,7 @@ int main(int argc, char** argv) {
MuID id_299;
MuID id_300;
MuID id_301;
mu_22 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_22 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_22 = mu_22->new_context(mu_22);
bldr_22 = ctx_22->new_ir_builder(ctx_22);
id_285 = bldr_22->gen_sym(bldr_22, "@i32");
......
......@@ -42,7 +42,7 @@ int main(int argc, char** argv) {
MuID id_523;
MuID id_524;
MuID id_525;
mu_34 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_34 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_34 = mu_34->new_context(mu_34);
bldr_34 = ctx_34->new_ir_builder(ctx_34);
id_494 = bldr_34->gen_sym(bldr_34, "@i64");
......
......@@ -39,7 +39,7 @@ int main(int argc, char** argv) {
MuID id_491;
MuID id_492;
MuID id_493;
mu_33 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_33 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_33 = mu_33->new_context(mu_33);
bldr_33 = ctx_33->new_ir_builder(ctx_33);
id_465 = bldr_33->gen_sym(bldr_33, "@i64");
......
......@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
MuID id_424;
MuID id_425;
MuID id_426;
mu_29 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_29 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_29 = mu_29->new_context(mu_29);
bldr_29 = ctx_29->new_ir_builder(ctx_29);
id_412 = bldr_29->gen_sym(bldr_29, "@i8");
......
......@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
MuID id_439;
MuID id_440;
MuID id_441;
mu_30 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_30 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_30 = mu_30->new_context(mu_30);
bldr_30 = ctx_30->new_ir_builder(ctx_30);
id_427 = bldr_30->gen_sym(bldr_30, "@i8");
......
......@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
MuID id_454;
MuID id_455;
MuID id_456;
mu_31 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_31 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_31 = mu_31->new_context(mu_31);
bldr_31 = ctx_31->new_ir_builder(ctx_31);
id_442 = bldr_31->gen_sym(bldr_31, "@i8");
......
......@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_68;
MuID id_69;
MuID id_70;
mu_7 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_7 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_7 = mu_7->new_context(mu_7);
bldr_7 = ctx_7->new_ir_builder(ctx_7);
id_61 = bldr_7->gen_sym(bldr_7, "@i64");
......
......@@ -42,7 +42,7 @@ int main(int argc, char** argv) {
MuID id_555;
MuID id_556;
MuID id_557;
mu_35 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_35 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_35 = mu_35->new_context(mu_35);
bldr_35 = ctx_35->new_ir_builder(ctx_35);
id_526 = bldr_35->gen_sym(bldr_35, "@i64");
......
......@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_28;
MuID id_29;
MuID id_30;
mu_3 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_3 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_3 = mu_3->new_context(mu_3);
bldr_3 = ctx_3->new_ir_builder(ctx_3);
id_21 = bldr_3->gen_sym(bldr_3, "@i8");
......
......@@ -47,7 +47,7 @@ int main(int argc, char** argv) {
MuID id_35;
MuID id_36;
MuID id_37;
mu = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx = mu->new_context(mu);
bldr = ctx->new_ir_builder(ctx);
id = bldr->gen_sym(bldr, "@i64");
......
......@@ -23,7 +23,7 @@ int main(int argc, char** argv) {
MuID id_129;
MuID id_130;
MuID id_131;
mu_12 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_12 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_12 = mu_12->new_context(mu_12);
bldr_12 = ctx_12->new_ir_builder(ctx_12);
id_119 = bldr_12->gen_sym(bldr_12, "@i1");
......
......@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
MuID id_144;
MuID id_145;
MuID id_146;
mu_13 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_13 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_13 = mu_13->new_context(mu_13);
bldr_13 = ctx_13->new_ir_builder(ctx_13);
id_132 = bldr_13->gen_sym(bldr_13, "@i1");
......
......@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
MuID id_344;
MuID id_345;
MuID id_346;
mu_26 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_26 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_26 = mu_26->new_context(mu_26);
bldr_26 = ctx_26->new_ir_builder(ctx_26);
id_332 = bldr_26->gen_sym(bldr_26, "@i1");
......
......@@ -46,7 +46,7 @@ int main(int argc, char** argv) {
MuID id_380;
MuID id_381;
MuID id_382;
mu_27 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_27 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_27 = mu_27->new_context(mu_27);
bldr_27 = ctx_27->new_ir_builder(ctx_27);
id_347 = bldr_27->gen_sym(bldr_27, "@i8");
......
......@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_38;
MuID id_39;
MuID id_40;
mu_4 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_4 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_4 = mu_4->new_context(mu_4);
bldr_4 = ctx_4->new_ir_builder(ctx_4);
id_31 = bldr_4->gen_sym(bldr_4, "@i8");
......
......@@ -26,7 +26,7 @@ int main(int argc, char** argv) {
MuID id_571;
MuID id_572;
MuID id_573;
mu_36 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_36 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_36 = mu_36->new_context(mu_36);
bldr_36 = ctx_36->new_ir_builder(ctx_36);
id_558 = bldr_36->gen_sym(bldr_36, "@i1");
......
......@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_319;
MuID id_320;
MuID id_321;
mu_24 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_24 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_24 = mu_24->new_context(mu_24);
bldr_24 = ctx_24->new_ir_builder(ctx_24);
id_312 = bldr_24->gen_sym(bldr_24, "@i32");
......
......@@ -27,7 +27,7 @@ int main(int argc, char** argv) {
MuID id_161;
MuID id_162;
MuID id_163;
mu_14 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_14 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_14 = mu_14->new_context(mu_14);
bldr_14 = ctx_14->new_ir_builder(ctx_14);
id_147 = bldr_14->gen_sym(bldr_14, "@i1");
......
......@@ -27,7 +27,7 @@ int main(int argc, char** argv) {
MuID id_178;
MuID id_179;
MuID id_180;
mu_15 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_15 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_15 = mu_15->new_context(mu_15);
bldr_15 = ctx_15->new_ir_builder(ctx_15);
id_164 = bldr_15->gen_sym(bldr_15, "@i1");
......
......@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_58;
MuID id_59;
MuID id_60;
mu_6 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_6 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_6 = mu_6->new_context(mu_6);
bldr_6 = ctx_6->new_ir_builder(ctx_6);
id_51 = bldr_6->gen_sym(bldr_6, "@i64");
......
......@@ -27,7 +27,7 @@ int main(int argc, char** argv) {
MuID id_195;
MuID id_196;
MuID id_197;
mu_16 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_16 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_16 = mu_16->new_context(mu_16);
bldr_16 = ctx_16->new_ir_builder(ctx_16);
id_181 = bldr_16->gen_sym(bldr_16, "@i1");
......
......@@ -27,7 +27,7 @@ int main(int argc, char** argv) {
MuID id_212;
MuID id_213;
MuID id_214;
mu_17 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_17 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_17 = mu_17->new_context(mu_17);
bldr_17 = ctx_17->new_ir_builder(ctx_17);
id_198 = bldr_17->gen_sym(bldr_17, "@i1");
......
......@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_18;
MuID id_19;
MuID id_20;
mu_2 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_2 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_2 = mu_2->new_context(mu_2);
bldr_2 = ctx_2->new_ir_builder(ctx_2);
id_11 = bldr_2->gen_sym(bldr_2, "@i8");
......
......@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_309;
MuID id_310;
MuID id_311;
mu_23 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_23 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_23 = mu_23->new_context(mu_23);
bldr_23 = ctx_23->new_ir_builder(ctx_23);
id_302 = bldr_23->gen_sym(bldr_23, "@i32");
......
......@@ -27,7 +27,7 @@ int main(int argc, char** argv) {
MuID id_229;
MuID id_230;
MuID id_231;
mu_18 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_18 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_18 = mu_18->new_context(mu_18);
bldr_18 = ctx_18->new_ir_builder(ctx_18);
id_215 = bldr_18->gen_sym(bldr_18, "@i1");
......
......@@ -39,7 +39,7 @@ int main(int argc, char** argv) {
MuID id_409;
MuID id_410;
MuID id_411;
mu_28 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_28 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_28 = mu_28->new_context(mu_28);
bldr_28 = ctx_28->new_ir_builder(ctx_28);
id_383 = bldr_28->gen_sym(bldr_28, "@i8");
......
......@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_48;
MuID id_49;
MuID id_50;
mu_5 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_5 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_5 = mu_5->new_context(mu_5);
bldr_5 = ctx_5->new_ir_builder(ctx_5);
id_41 = bldr_5->gen_sym(bldr_5, "@i8");
......
......@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_88;
MuID id_89;
MuID id_90;
mu_9 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_9 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_9 = mu_9->new_context(mu_9);
bldr_9 = ctx_9->new_ir_builder(ctx_9);
id_81 = bldr_9->gen_sym(bldr_9, "@i64");
......
......@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_329;
MuID id_330;
MuID id_331;
mu_25 = mu_fastimpl_new_with_opts("init_muinit_mu --log-level=none --aot-emit-dir=emit");
mu_25 = mu_fastimpl_new_with_opts("init_mu --log-level=none --aot-emit-dir=emit");
ctx_25 = mu_25->new_context(mu_25);
bldr_25 = ctx_25->new_ir_builder(ctx_25);
id_322 = bldr_25->gen_sym(bldr_25, "@i32");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment