[PATCH] Emit DWARF info for all code section in an assembly file

Behan Webster behanw at converseincode.com
Mon Feb 10 18:31:10 PST 2014


On 02/10/14 04:14, Renato Golin wrote:
> On 10 February 2014 11:27, Oliver Stannard <ostannard at gmail.com> wrote:
>> Did you send a related patch for review? I can't find anything
>> relevant-looking in the mailing list.
> Hi Oliver,
>
> My bad, we had a discussion over IRC and I only updated the bugzilla,
> not the list.
>
> Since both GCC and LLVM accept -dwarf-2, and GCC only accepts
> -gdwarf-3, I think it makes sense if we change it in the kernel
> makefiles, rather than in Clang.
>
> I've copied Behan and Jan, who are coordinating the LLVM-related
> patches in the Linux tree.
Since this option is set at the top level kernel Makefile we will have
to see whether DWARF 3 is something that can be supported across all
architectures and all supported versions of gcc.

However, minimally, we can socialize a patch which uses DWARF 3 if clang
is being used.

Thanks for keeping us in the loop!

Behan

-- 
Behan Webster
behanw at converseincode.com




More information about the llvm-commits mailing list