nlvm
nlvm copied to clipboard
Unable to compile any code when using the --debugger:native option
I am trying out nlvm for the first time, and I would like to try using the debugger, but it seems unable to compile anything if the --debugger:native argument is passed. Is there something I could be doing wrong? I'm just testing it with a simple fibonacci function
proc fib(n: uint64): uint64 =
if n <= 1: return n
return fib(n - 1) + fib(n - 2)
echo fib(47)
compiling with:
nlvm c --debugger:native ./src/main.nim
I compiled nlvm from source without the STATIC_LLVM=1 argument