output dwarf2 unwind info via asm directives

H.J. Lu hjl.tools@gmail.com
Tue Aug 5 23:19:00 GMT 2008


On Tue, Aug 5, 2008 at 3:02 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, Aug 5, 2008 at 10:45 AM, Richard Henderson <rth@twiddle.net> wrote:
>> Having the compiler emit dwarf2 unwind info via assembler directives
>> makes it possible to add those same directives to inline assembly,
>> and have everything come out correct in the end.
>>
> One message I saw is
>
> Executing on host: /export/gnu/import/svn/gcc-test/bld/gcc/xgcc
> -B/export/gnu/import/svn/gcc-test/bld/gcc/
> /export/gnu/import/svn/gcc-test/src/gcc/testsuite/gcc.dg/pch/valid-1b.c
>  -O0 -g -I. -I. -Winvalid-pch -g0 -fno-show-column -S  -m32 -o
> valid-1b.s    (timeout = 300)
> /export/gnu/import/svn/gcc-test/src/gcc/testsuite/gcc.dg/pch/valid-1b.c:3:
> warning: ./valid-1b.h.gch: not used because
> `__GCC_HAVE_DWARF2_CFI_ASM' not defined^M
> /export/gnu/import/svn/gcc-test/src/gcc/testsuite/gcc.dg/pch/valid-1b.c:3:
> error: valid-1b.h: No such file or directory^M
> /export/gnu/import/svn/gcc-test/src/gcc/testsuite/gcc.dg/pch/valid-1b.c:3:
> error: one or more PCH files were found, but they were invalid^M
> compiler exited with status 1
>

It is

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37033

-- 
H.J.



More information about the Gcc-patches mailing list