I've got really comfy `just` scripts for generating Clang "intermediaries" in my CMake project. I can generate `.ii` files which get formatted and edited in a manner making them directly recompilable, along with `.ll`, `.bc`, and `.s` files. All the above are per-translation unit or post-LTO and I can constrain the output to specific functions or files, and the LLVM bitcode can take optimization passes or optimization levels to very easily introspect how my work in this codebase optimizes.
I've also got a clang-repl wrapper for this codebase that is very easy to use and makes interactive programming much easier for me.
Comments (788) 595 threads
Show all comments
Showing thread 96 of 595
I've also got a clang-repl wrapper for this codebase that is very easy to use and makes interactive programming much easier for me.