On Fri, Dec 18, 2015 at 2:22 PM, Eric Christopher <echri...@gmail.com> wrote:
>
>
> On Fri, Dec 18, 2015 at 2:20 PM Siva Chandra <sivachan...@google.com> wrote:
>>
>> On Fri, Dec 18, 2015 at 2:17 PM, Eric Christopher <echri...@gmail.com>
>> wrote:
>> > Does the object file without -gsplit-dwarf have multiple sections? If
>> > so,
>> > that should narrow it down for you, otherwise it's really curious.
>>
>> Without -gsplit-dwarf, there is only one .debug_macro section.
>>
>
> Well, that's fascinating. My guess is something in objcopy is mangling.

I did some digging last week. It seemed to me that each block of macro
entries pointed to by a DW_MACRO_transparent_include (when NOT using
-gsplit-dwarf) was getting its own .debug_macro section when using
-gsplit-dwarf.

>> > On Fri, Dec 11, 2015 at 10:33 AM Siva Chandra <sivachan...@google.com>
>> > wrote:
>> >>
>> >> Hello,
>> >>
>> >> When I compile my cc file with "-g3 -gsplit-dwarf", the resulting .dwo
>> >> file has multiple .debug_macro.dwo sections. Is that expected? I did
>> >> not find anything in the proposal which explains this:
>> >> http://www.dwarfstd.org/ShowIssue.php?issue=110722.1
>> >>
>> >> Thanks,
>> >> Siva Chandra

Reply via email to