diff options
| author | Eric Christopher <echristo@gmail.com> | 2014-01-02 21:38:18 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2014-01-02 21:38:18 +0000 |
| commit | d8beca3b785bd3c9a68bf020443d2f226e9085ce (patch) | |
| tree | af2dbc56e8469336dafe19f36ad8e7531f016711 | |
| parent | 40734c4c0c8aa474282269a04f9a275ca05b2993 (diff) | |
| download | bcm5719-llvm-d8beca3b785bd3c9a68bf020443d2f226e9085ce.tar.gz bcm5719-llvm-d8beca3b785bd3c9a68bf020443d2f226e9085ce.zip | |
Elaborate on comment for skeleton CU construction.
llvm-svn: 198358
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index a1e415a1bd7..44163d20f4c 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -825,7 +825,10 @@ DwarfCompileUnit *DwarfDebug::constructDwarfCompileUnit(DICompileUnit DIUnit) { if (useSplitDwarf()) { NewCU->initSection(Asm->getObjFileLowering().getDwarfInfoDWOSection(), DwarfInfoDWOSectionSym); - // If we're splitting the dwarf then construct the skeleton CU now. + // If we're splitting the dwarf then construct the skeleton CU now + // since we'll need to be able to reference the symbols in the skeleton + // CU during various emission passes - in particular aranges need + // to reference the skeleton CU. NewCU->setSkeleton(constructSkeletonCU(NewCU)); } else NewCU->initSection(Asm->getObjFileLowering().getDwarfInfoSection(), |

