llvm/llvm-project ? reverse-engineered prompt

Reverse engineered prompt

I want this repo set up so I can actually use it locally without digging through a giant compiler project on my own.

Please get a working build of the core LLVM tools and the Clang frontend, using the simplest sensible setup for a normal development machine. I should be able to build the project, compile a tiny C or C++ example, emit LLVM bitcode, inspect it, and turn it into an object file so I can see the basic workflow end to end. If there are optional pieces in here, focus on the main path and do not try to wire up every single component unless it is needed.

Please also add or update whatever helper scripts or docs would make this easy to repeat, then leave me a short README with the exact commands to configure, build, run a quick sanity check, and where the main binaries end up. If anything is unclear, look up the current LLVM getting started docs online and use the recommended approach.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab