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

Timur Iskhodzhanov timurrrr at google.com
Fri Oct 24 11:42:36 PDT 2014


================
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.
----------------
dnovillo wrote:
> Could you leave the original documentation in?
Can you please elaborate the request?
The "interface" part of the documentation has moved in `include/llvm/IR/DebugInfo.h`, the "implementation" part of the documentation is now located here.

http://reviews.llvm.org/D5950






More information about the llvm-commits mailing list