[cfe-dev] --split-dwarf silently fails on non-Linux platforms

David Blaikie dblaikie at gmail.com
Fri Mar 20 09:07:46 PDT 2015


On Fri, Mar 20, 2015 at 7:54 AM, Eric Christopher <echristo at gmail.com>
wrote:

> Mostly that the only platform we knew it worked on was Linux and didn't
> want to make it error out.
>
Hmm - why did we not want it to error on unsupported platforms?

> We can make it not error for all elf targets for sure if you'd like to
> give it a go. Needs a relatively recent binutils and GDB (currently no lldb
> support).
>
> -eric
>
> On Fri, Mar 20, 2015, 6:57 AM Ed Maste <emaste at freebsd.org> wrote:
>
>> In r175814 -gsplit-dwarf was made into a no-op on non-Linux platforms,
>> but there's no explanation in the comment explaining what lead to the
>> change. -gsplit-dwarf requires a newer binutils, but that is also true
>> on Linux.
>>
>> I'm looking into this for FreeBSD, and wonder if I should change the
>> three or so isOSLinux() conditions for split-dwarf to (isOSLinux() ||
>> isOSFreeBSD()), just remove them, or something else. I'm not fully
>> aware of the situation on Windows or Darwin, but it seems we could
>> handle it the same way on all ELF targets, at least.
>>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150320/537b19c1/attachment.html>


More information about the cfe-dev mailing list