[llvm] r204103 - Add explanatory comment.

Eric Christopher echristo at gmail.com
Mon Mar 17 19:18:27 PDT 2014


Author: echristo
Date: Mon Mar 17 21:18:27 2014
New Revision: 204103

URL: http://llvm.org/viewvc/llvm-project?rev=204103&view=rev
Log:
Add explanatory comment.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=204103&r1=204102&r2=204103&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Mon Mar 17 21:18:27 2014
@@ -1416,6 +1416,8 @@ void DwarfDebug::beginFunction(const Mac
   // then we're not going to be able to do anything.
   LScopes.initialize(*MF);
   if (LScopes.empty()) {
+    // If we don't have a lexical scope for this function then there will
+    // be a hole in the range information. Keep note of this.
     UsedNonDefaultText = true;
     return;
   }





More information about the llvm-commits mailing list