[llvm-commits] [patch] Use .loc in codegen
Devang Patel
dpatel at apple.com
Wed Nov 17 11:16:02 PST 2010
On Nov 17, 2010, at 10:43 AM, Rafael EspĂndola wrote:
>> Is there some way to make sure that nothing was actually lost in these 13 Mb? :)
>
> I tried the basic:
>
> $ gdb Debug+Asserts/bin/clang
>
> breakpoints, next and step work as expected. The assembly output also
> has .loc directives that look correct.
>
> Without this patch we use DW_LNE_set_address for every address change,
> so that is probably when all those 13 MB were going.
Note, this patch relies on fresh .loc/.file support by MCStreamer. First, we need gdb testsuite results with and without this patch to ensure correctness of debug info. Can you get numbers for your platform (using clang as the compiler)?
-
Devang
More information about the llvm-commits
mailing list