From a8be0a794fd59614305a5955deae3ec9be22070e Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Sat, 1 Nov 2014 01:15:24 +0000 Subject: [PATCH] And... fix the build some more. llvm-svn: 221036 --- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 2b47298..a4f5e55 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -576,7 +576,7 @@ void DwarfDebug::finalizeModuleInfo() { // FIXME: We should use ranges allow reordering of code ala // .subsections_via_symbols in mach-o. This would mean turning on // ranges for all subprogram DIEs for mach-o. - DwarfCompileUnit &U = SkCU ? *SkCU : *TheCU; + DwarfCompileUnit &U = SkCU ? *SkCU : TheCU; unsigned NumRanges = TheCU.getRanges().size(); if (NumRanges) { if (NumRanges > 1) { -- 2.7.4