And... fix the build some more.
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 1 Nov 2014 01:15:24 +0000 (01:15 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 1 Nov 2014 01:15:24 +0000 (01:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221036 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index 2b47298898caaee07e42cae00996a2dcce4fd016..a4f5e55cbef716c86c5ec0819ae5e50ce3dd5cf3 100644 (file)
@@ -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) {