Open ghbytes opened 7 years ago
Hi, generating LLVM bitcode leads to the following errors:
C:\Users\User\Documents\Visual Studio 2015\Projects\llvm-lua\Debug>"C:\Users\User\Documents\Visual Studio 2015\Projects\llvm-lua\Debug\llvm-luac.exe" -bc "C:\Users\User\Documents\Visual Studio 2015\Projects\llvm-lua\llvm-luac\tests\nums.lua" Stack dump: 0. Program arguments: C:\Users\User\Documents\Visual Studio 2015\Projects\llvm-lua\Debug\llvm-luac.exe -bc C:\Users\User\Documents\Visual Studio 2015\Projects\llvm-lua\llvm-luac\tests\nums.lua 0x00F35A96 (0xCD1BC0A1 0x0093EB60 0x0093ECCC 0x006FF000), LLVMCompiler::getModule() + 0x26 bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\llvmcompiler.h, line 158 + 0x3 byte(s) 0x00F316B1 (0xFDFDFDFD 0x0093ECC0 0x0093ECCC 0x006FF000), LLVMDumper::LLVMDumper() + 0x71 bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\llvmdumper.cpp, line 66 + 0xA byte(s) 0x00F367F5 (0x01E250B4 0x00CDF578 0x00CE1270 0x00000000), llvm_dumper_dump() + 0x55 bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\llvm_dumper.cpp, line 35 + 0x28 byte(s) 0x00F4B41E (0x00CDF578 0x0093EECC 0x0093EDD4 0x006FF000), pmain() + 0x37E bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\lua_compiler.c, line 272 + 0x19 byte(s) 0x00EF81C7 (0x00CDF578 0x00CE1CB0 0x00000000 0x0093EFB0), luaD_precall_c() + 0xD7 bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\ldo.c, line 333 + 0x16 byte(s) 0x00EF80A3 (0x00CDF578 0x00CE1CB0 0x00000000 0x0093F0D8), luaD_precall() + 0xC3 bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\ldo.c, line 355 + 0x16 byte(s) 0x00EF7B2D (0x00CDF578 0x00CE1CB0 0x00000000 0x0093F208), luaD_call() + 0x9D bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\ldo.c, line 409 + 0x11 byte(s) 0x00EE9BD5 (0x00CDF578 0x0093F428 0x0093F330 0x0093F54C), f_Ccall() + 0xC5 bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\lapi.c, line 849 + 0x15 byte(s) 0x00EF8510 (0x00CDF578 0x00EE9B10 0x0093F428 0x0093F434), luaD_rawrunprotected() + 0x60 bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\ldo.c, line 120 + 0x1F byte(s) 0x00EF7DD4 (0x00CDF578 0x00EE9B10 0x0093F428 0x00000010), luaD_pcall() + 0x64 bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\ldo.c, line 490 + 0x11 byte(s) 0x00EEA10B (0x00CDF578 0x00F4B0A0 0x0093F524 0x0093F934), lua_cpcall() + 0x4B bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\lapi.c, line 859 + 0x21 byte(s) 0x00F4B032 (0x00000001 0x00CE9460 0xCD1BD3A9 0x018F7D00), luac_main() + 0x92 bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\lua_compiler.c, line 297 + 0x12 byte(s) 0x00F17000 (0x00000003 0x00CDC350 0x00CEEDF0 0x0093F9AC), main() + 0x730 bytes(s), c:\Users\User\documents\visual studio 2015\projects\llvm-lua\llvm-luac\llvm-luac.cpp, line 174 + 0x10 byte(s) 0x018F7CEE (0xCD1BD345 0x018F7D00 0x018F7D00 0x006FF000), invoke_main() + 0x1E bytes(s), f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl, line 74 + 0x1B byte(s) 0x018F7BBA (0x0093F9BC 0x018F7D08 0x0093F9D0 0x76D862C4), __scrt_common_main_seh() + 0x15A bytes(s), f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl, line 264 + 0x5 byte(s) 0x018F7A5D (0x0093F9D0 0x76D862C4 0x006FF000 0x76D862A0), __scrt_common_main() + 0xD bytes(s), f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl, line 309 0x018F7D08 (0x006FF000 0x76D862A0 0xBA1BB745 0x0093FA18), mainCRTStartup() + 0x8 bytes(s), f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp, line 17 0x76D862C4 (0x006FF000 0xBB478C7F 0x00000000 0x00000000), BaseThreadInitThunk() + 0x24 bytes(s) 0x77B30FD9 (0xFFFFFFFF 0x77B52EF9 0x00000000 0x00000000), RtlSubscribeWnfStateChangeNotification() + 0x439 bytes(s) 0x77B30FA4 (0x018F7D00 0x006FF000 0x00000000 0x00000000), RtlSubscribeWnfStateChangeNotification() + 0x404 bytes(s)
Is there a solution to this problem?
Hi, generating LLVM bitcode leads to the following errors:
Is there a solution to this problem?