[llvm-commits] [PATCH] Dwarf: support for LTO where a single object file can have multiple line tables

Manman Ren mren at apple.com
Mon Jan 28 15:21:33 PST 2013


PING with updated patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: line_table.patch
Type: application/octet-stream
Size: 15345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130128/a8cb4edf/attachment.obj>
-------------- next part --------------

On Jan 25, 2013, at 4:05 PM, Manman Ren <mren at apple.com> wrote:

> 
> Hello,
> 
> With LTO, we will generate a single object file with multiple compilation units, and we used to generate a single combined line table
> and all compilation units will point to the same line table.
> 
> With this patch, we will generate one line table for each compilation unit in the object file.
> 
> Added the following members in MCContext:
> +    /// The Compile Unit ID that we are currently processing.
> +    int DwarfCompileUnitID;
> +    /// The line table start symbol for each Compile Unit.
> +    DenseMap<int, MCSymbol *> MCLineTableSymbols;
> Modified members in MCLineSection:
> -    MCLineEntryCollection MCLineEntries;
> +    // A collection of MCLineEntry for each Compile Unit ID.
> +    DenseMap<int, MCLineEntryCollection> MCLineDivisions;
> 
> Please review,
> 
> Thanks,
> Manman
> <line_table.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list