From: Eric Christopher Date: Tue, 18 Mar 2014 02:18:27 +0000 (+0000) Subject: Add explanatory comment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=635ed6dfe977730b85ecc7873fd664449a866c14;p=oota-llvm.git Add explanatory comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204103 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index a69bf2697df..03906f0110b 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1416,6 +1416,8 @@ void DwarfDebug::beginFunction(const MachineFunction *MF) { // 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; }