[PATCH] Make getDISubprogram(const Function *F) available in LLVM

Diego Novillo dnovillo at google.com
Fri Oct 24 04:42:18 PDT 2014


Thanks for the cleanup!

================
Comment at: lib/IR/DebugInfo.cpp:915
@@ -914,1 +914,3 @@
 
+DISubprogram llvm::getDISubprogram(const Function *F) {
+  // We look for the first instr that has a debug annotation leading back to F.
----------------
Could you leave the original documentation in?

http://reviews.llvm.org/D5950






More information about the llvm-commits mailing list