WIP: Bootstrap loop debugging
- Fixed module flattening in self-hosted compiler (Cli_Compile now unwraps module wrappers) - buxc2 check now finds functions in module-wrapped files (token.bux: funcCount=6, Main.bux: funcCount=2) - Added debug prints to trace lexer.bux timeout and check x segfault - Remaining issues: lexer.bux hangs in self-hosted pipeline, check x segfaults in runtime
This commit is contained in:
@@ -10,6 +10,9 @@ func Cli_Run(args: *String, argCount: int) -> int;
|
||||
|
||||
func Main() -> int {
|
||||
let count: int = bux_argc();
|
||||
Print("Main count=");
|
||||
PrintInt(count);
|
||||
PrintLine("");
|
||||
// Allocate array of String pointers
|
||||
let args: *String = bux_alloc(count as uint * 8) as *String;
|
||||
var i: int = 0;
|
||||
|
||||
Reference in New Issue
Block a user