[cfe-dev] --split-dwarf silently fails on non-Linux platforms
Eric Christopher
echristo at gmail.com
Fri Mar 20 07:54:44 PDT 2015
Mostly that the only platform we knew it worked on was Linux and didn't
want to make it error out. 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150320/2d3e6c22/attachment.html>
More information about the cfe-dev
mailing list