Place a file named output.prellvm at the root of the project.
Run prellvm in the project directory. the llvm language code will be displayed in stderr, additional debug info will be printed in stdout.
Example command: ./main 2>output.ll && llc output.ll && gcc output.s make compile will execute the same command.
llvm
llc
gcc
prellvm is agnostic to indentation, newlines, and whitespace.
there isn't comment.
for more information consult prellvm.azur inside the standard library.
LLVM tutorial at: https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/