<div dir="ltr">Is there a way to use LLC to cross-compile some code to run on Windows IOT on Raspberry Pi ?<div><br></div><div>I was able to convince LLVM to spit out some bitcode for this, but when I try llc it dumps:</div><div><br></div><div><div>llc.exe test.bc -o test.obj -filetype=obj -O3 -mtriple=aarch64-win32-msvc -mcpu=cortex-a53</div><div>Wrote crash dump file "C:\Users\clovett\AppData\Local\Temp\llc.exe-4990d8.dmp"</div><div>0x0000000000000000 (0x0000000000000000 0x000001AE351C38E9 0x0000000000000007 0x000001AE351C38F1) <unknown module></div><div>0x00007FF79681B7F5 (0x000001AE3526BFE0 0x000001AE35216D40 0x000001AE3526BFE0 0x000000047738EE80)</div><div>0x00007FF79681AEF6 (0x0000000000000000 0x000000047738F0D0 0x000001AE32C27BC0 0x000001AE3526BFE0)</div><div>0x00007FF79602EEDC (0x000001AE32C27BC0 0x0000000000000000 0x0000000000000000 0x0000000000000008)</div><div>0x00007FF79603056D (0x0000000000000000 0x000001AE32C49800 0x00007FFD3B3D69D8 0x0000000000000000)</div><div>0x00007FF796D82DE9 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)</div><div>0x00007FFD3D712774 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)</div><div>0x00007FFD3E420D51 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), RtlUserThreadStart() </div></div></div>