3 ms·
You can trivially dump your module to a file with the actual LLVM API using `LLVMPrintModuleToFile`, even if the module is in the middle of being built. It's e
by chc4 8y ago
You can trivially dump your module to a file with the actual LLVM API using `LLVMPrintModuleToFile`, even if the module is in the middle of being built.
It's easier to emit human-readable LLVM IR if you're just playing around (or are using a language without good LLVM bindings), but it's strictly inferior to using the actual API