libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] LTO and dwarf_to_unw_regnum_map


From: Arun Sharma
Subject: Re: [Libunwind-devel] LTO and dwarf_to_unw_regnum_map
Date: Mon, 6 Jul 2015 08:51:11 -0700

On Mon, Jul 6, 2015 at 2:52 AM, Dilyan Palauzov
<address@hidden> wrote:

> ../include/dwarf_i.h:20:22: warning: type of
> '_ULx86_64_dwarf_to_unw_regnum_map' does not match original declaration
>  extern const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH];
>                       ^
> ../include/dwarf_i.h:20:22: warning: type of
> '_ULx86_64_dwarf_to_unw_regnum_map' does not match original declaration
> x86_64/Gglobal.c:37:22: note: previously declared here
>  HIDDEN const uint8_t dwarf_to_unw_regnum_map[DWARF_NUM_PRESERVED_REGS] =
>                       ^

http://git.savannah.gnu.org/gitweb/?p=libunwind.git;a=blob;f=include/tdep-x86_64/dwarf-config.h;h=ff77808e0694646ecb8b97006d00db79f3b35cb4;hb=HEAD#l41

> #define DWARF_REGNUM_MAP_LENGTH         DWARF_NUM_PRESERVED_REGS

On x86_64, they should be identical. Could you look at the output of
the preprocessor to see if another definition from somewhere else is
sneaking in?

 -Arun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]