title: print function name pass in llvm
body: <p>I'd like to insert a function call (printf) in the first basic block of every function, which prints the function name. Please be specific how can I do that. The difficult part is that I don't know how to pass the function name as a parameter to printf.</p>