Hacker News new | ask | show | jobs
by jaredwy 811 days ago
compiler explorer/clang can do this.

https://clang.llvm.org/docs/UsersManual.html#options-to-emit...

Gcc also has similar options

1 comments

Ooh nice, I completely forgot that that existed.

When you say the compiler explorer can do it, do you mean that it will 'inline' the output in a similar way to the assembly i.e. you can view the results 'within' the source code?