WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.2% of users enabled 2FA.

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

bug fix in init string

parent 3278d2ce
#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) { ...@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_8; MuID id_8;
MuID id_9; MuID id_9;
MuID id_10; 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); ctx = mu->new_context(mu);
bldr = ctx->new_ir_builder(ctx); bldr = ctx->new_ir_builder(ctx);
id = bldr->gen_sym(bldr, "@i8"); id = bldr->gen_sym(bldr, "@i8");
......
...@@ -20,7 +20,7 @@ int main(int argc, char** argv) { ...@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_78; MuID id_78;
MuID id_79; MuID id_79;
MuID id_80; 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); ctx_8 = mu_8->new_context(mu_8);
bldr_8 = ctx_8->new_ir_builder(ctx_8); bldr_8 = ctx_8->new_ir_builder(ctx_8);
id_71 = bldr_8->gen_sym(bldr_8, "@i64"); id_71 = bldr_8->gen_sym(bldr_8, "@i64");
......
...@@ -25,7 +25,7 @@ int main(int argc, char** argv) { ...@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
MuID id_244; MuID id_244;
MuID id_245; MuID id_245;
MuID id_246; 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); ctx_19 = mu_19->new_context(mu_19);
bldr_19 = ctx_19->new_ir_builder(ctx_19); bldr_19 = ctx_19->new_ir_builder(ctx_19);
id_232 = bldr_19->gen_sym(bldr_19, "@i64"); id_232 = bldr_19->gen_sym(bldr_19, "@i64");
......
...@@ -37,7 +37,7 @@ int main(int argc, char** argv) { ...@@ -37,7 +37,7 @@ int main(int argc, char** argv) {
MuID id_271; MuID id_271;
MuID id_272; MuID id_272;
MuID id_273; 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); ctx_20 = mu_20->new_context(mu_20);
bldr_20 = ctx_20->new_ir_builder(ctx_20); bldr_20 = ctx_20->new_ir_builder(ctx_20);
id_247 = bldr_20->gen_sym(bldr_20, "@i8"); id_247 = bldr_20->gen_sym(bldr_20, "@i8");
......
...@@ -21,7 +21,7 @@ int main(int argc, char** argv) { ...@@ -21,7 +21,7 @@ int main(int argc, char** argv) {
MuID id_282; MuID id_282;
MuID id_283; MuID id_283;
MuID id_284; 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); ctx_21 = mu_21->new_context(mu_21);
bldr_21 = ctx_21->new_ir_builder(ctx_21); bldr_21 = ctx_21->new_ir_builder(ctx_21);
id_274 = bldr_21->gen_sym(bldr_21, "@i64"); id_274 = bldr_21->gen_sym(bldr_21, "@i64");
...@@ -45,7 +45,7 @@ int main(int argc, char** argv) { ...@@ -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_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->new_func_ver(bldr_21, id_279, id_278, (MuBBNode [1]){id_280}, 1);
bldr_21->load(bldr_21); 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"); printf("%s\n", "test_ccall.dylib");
return 0; return 0;
} }
...@@ -18,7 +18,7 @@ int main(int argc, char** argv) { ...@@ -18,7 +18,7 @@ int main(int argc, char** argv) {
MuID id_462; MuID id_462;
MuID id_463; MuID id_463;
MuID id_464; 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); ctx_32 = mu_32->new_context(mu_32);
bldr_32 = ctx_32->new_ir_builder(ctx_32); bldr_32 = ctx_32->new_ir_builder(ctx_32);
id_457 = bldr_32->gen_sym(bldr_32, "@i32"); id_457 = bldr_32->gen_sym(bldr_32, "@i32");
......
...@@ -23,7 +23,7 @@ int main(int argc, char** argv) { ...@@ -23,7 +23,7 @@ int main(int argc, char** argv) {
MuID id_101; MuID id_101;
MuID id_102; MuID id_102;
MuID id_103; 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); ctx_10 = mu_10->new_context(mu_10);
bldr_10 = ctx_10->new_ir_builder(ctx_10); bldr_10 = ctx_10->new_ir_builder(ctx_10);
id_91 = bldr_10->gen_sym(bldr_10, "@i1"); id_91 = bldr_10->gen_sym(bldr_10, "@i1");
......
...@@ -25,7 +25,7 @@ int main(int argc, char** argv) { ...@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
MuID id_116; MuID id_116;
MuID id_117; MuID id_117;
MuID id_118; 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); ctx_11 = mu_11->new_context(mu_11);
bldr_11 = ctx_11->new_ir_builder(ctx_11); bldr_11 = ctx_11->new_ir_builder(ctx_11);
id_104 = bldr_11->gen_sym(bldr_11, "@i1"); id_104 = bldr_11->gen_sym(bldr_11, "@i1");
......
...@@ -27,7 +27,7 @@ int main(int argc, char** argv) { ...@@ -27,7 +27,7 @@ int main(int argc, char** argv) {
MuID id_299; MuID id_299;
MuID id_300; MuID id_300;
MuID id_301; 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); ctx_22 = mu_22->new_context(mu_22);
bldr_22 = ctx_22->new_ir_builder(ctx_22); bldr_22 = ctx_22->new_ir_builder(ctx_22);
id_285 = bldr_22->gen_sym(bldr_22, "@i32"); id_285 = bldr_22->gen_sym(bldr_22, "@i32");
......
...@@ -42,7 +42,7 @@ int main(int argc, char** argv) { ...@@ -42,7 +42,7 @@ int main(int argc, char** argv) {
MuID id_523; MuID id_523;
MuID id_524; MuID id_524;
MuID id_525; 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); ctx_34 = mu_34->new_context(mu_34);
bldr_34 = ctx_34->new_ir_builder(ctx_34); bldr_34 = ctx_34->new_ir_builder(ctx_34);
id_494 = bldr_34->gen_sym(bldr_34, "@i64"); id_494 = bldr_34->gen_sym(bldr_34, "@i64");
......
...@@ -39,7 +39,7 @@ int main(int argc, char** argv) { ...@@ -39,7 +39,7 @@ int main(int argc, char** argv) {
MuID id_491; MuID id_491;
MuID id_492; MuID id_492;
MuID id_493; 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); ctx_33 = mu_33->new_context(mu_33);
bldr_33 = ctx_33->new_ir_builder(ctx_33); bldr_33 = ctx_33->new_ir_builder(ctx_33);
id_465 = bldr_33->gen_sym(bldr_33, "@i64"); id_465 = bldr_33->gen_sym(bldr_33, "@i64");
......
...@@ -25,7 +25,7 @@ int main(int argc, char** argv) { ...@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
MuID id_424; MuID id_424;
MuID id_425; MuID id_425;
MuID id_426; 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); ctx_29 = mu_29->new_context(mu_29);
bldr_29 = ctx_29->new_ir_builder(ctx_29); bldr_29 = ctx_29->new_ir_builder(ctx_29);
id_412 = bldr_29->gen_sym(bldr_29, "@i8"); id_412 = bldr_29->gen_sym(bldr_29, "@i8");
......
...@@ -25,7 +25,7 @@ int main(int argc, char** argv) { ...@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
MuID id_439; MuID id_439;
MuID id_440; MuID id_440;
MuID id_441; 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); ctx_30 = mu_30->new_context(mu_30);
bldr_30 = ctx_30->new_ir_builder(ctx_30); bldr_30 = ctx_30->new_ir_builder(ctx_30);
id_427 = bldr_30->gen_sym(bldr_30, "@i8"); id_427 = bldr_30->gen_sym(bldr_30, "@i8");
......
...@@ -25,7 +25,7 @@ int main(int argc, char** argv) { ...@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
MuID id_454; MuID id_454;
MuID id_455; MuID id_455;
MuID id_456; 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); ctx_31 = mu_31->new_context(mu_31);
bldr_31 = ctx_31->new_ir_builder(ctx_31); bldr_31 = ctx_31->new_ir_builder(ctx_31);
id_442 = bldr_31->gen_sym(bldr_31, "@i8"); id_442 = bldr_31->gen_sym(bldr_31, "@i8");
......
...@@ -20,7 +20,7 @@ int main(int argc, char** argv) { ...@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_68; MuID id_68;
MuID id_69; MuID id_69;
MuID id_70; 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); ctx_7 = mu_7->new_context(mu_7);
bldr_7 = ctx_7->new_ir_builder(ctx_7); bldr_7 = ctx_7->new_ir_builder(ctx_7);
id_61 = bldr_7->gen_sym(bldr_7, "@i64"); id_61 = bldr_7->gen_sym(bldr_7, "@i64");
......
...@@ -42,7 +42,7 @@ int main(int argc, char** argv) { ...@@ -42,7 +42,7 @@ int main(int argc, char** argv) {
MuID id_555; MuID id_555;
MuID id_556; MuID id_556;
MuID id_557; 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); ctx_35 = mu_35->new_context(mu_35);
bldr_35 = ctx_35->new_ir_builder(ctx_35); bldr_35 = ctx_35->new_ir_builder(ctx_35);
id_526 = bldr_35->gen_sym(bldr_35, "@i64"); id_526 = bldr_35->gen_sym(bldr_35, "@i64");
......
...@@ -20,7 +20,7 @@ int main(int argc, char** argv) { ...@@ -20,7 +20,7 @@ int main(int argc, char** argv) {
MuID id_28; MuID id_28;
MuID id_29; MuID id_29;
MuID id_30; 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); ctx_3 = mu_3->new_context(mu_3);
bldr_3 = ctx_3->new_ir_builder(ctx_3); bldr_3 = ctx_3->new_ir_builder(ctx_3);
id_21 = bldr_3->gen_sym(bldr_3, "@i8"); id_21 = bldr_3->gen_sym(bldr_3, "@i8");
......
...@@ -47,7 +47,7 @@ int main(int argc, char** argv) { ...@@ -47,7 +47,7 @@ int main(int argc, char** argv) {
MuID id_35; MuID id_35;
MuID id_36; MuID id_36;
MuID id_37; 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); ctx = mu->new_context(mu);
bldr = ctx->new_ir_builder(ctx); bldr = ctx->new_ir_builder(ctx);
id = bldr->gen_sym(bldr, "@i64"); id = bldr->gen_sym(bldr, "@i64");
......
...@@ -23,7 +23,7 @@ int main(int argc, char** argv) { ...@@ -23,7 +23,7 @@ int main(int argc, char** argv) {
MuID id_129; MuID id_129;
MuID id_130; MuID id_130;
MuID id_131; 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); ctx_12 = mu_12->new_context(mu_12);
bldr_12 = ctx_12->new_ir_builder(ctx_12); bldr_12 = ctx_12->new_ir_builder(ctx_12);
id_119 = bldr_12->gen_sym(bldr_12, "@i1"); id_119 = bldr_12->gen_sym(bldr_12, "@i1");
......
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