diff options
author | Eric Christopher <echristo@gmail.com> | 2013-02-06 21:53:56 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-02-06 21:53:56 +0000 |
commit | 01776a5a9480243f95fff50c96e3f35fad41e4cb (patch) | |
tree | 6acd0ec7c9b3ed17b00782c9c822f3b9e9ecf462 /lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | 231b83d8fd3ce86fb5cd154d50dd3f920ca0d71f (diff) |
Clean up multiple skeleton compile units if we have multiple compile
units coming in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174548 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index df3dc11c00..fb9020291e 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -415,8 +415,8 @@ class DwarfDebug { // original object file, rather than things that are meant // to be in the .dwo sections. - // The CU left in the original object file for separated debug info. - CompileUnit *SkeletonCU; + // The CUs left in the original object file for separated debug info. + SmallVector<CompileUnit *, 1> SkeletonCUs; // Used to uniquely define abbreviations for the skeleton emission. FoldingSet<DIEAbbrev> SkeletonAbbrevSet; |