[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: san_ignore_object not found at link time
From: |
Andreas Schwab |
Subject: |
Re: san_ignore_object not found at link time |
Date: |
Sat, 01 Aug 2020 20:52:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) |
On Aug 01 2020, Eli Zaretskii wrote:
>> Date: Sat, 01 Aug 2020 20:51:42 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: alan@idiocy.org, emacs-devel@gnu.org, p.stephani2@gmail.com,
>> raman@google.com
>>
>> 4641 | void *po = (char *) ((intptr_t) (char *) XLP (obj)
>> | ^
>>
>> This is a 32-bit build --with-wide-int, in case it matters, where
>> EMACS_INT is a 64-bit data type.
>
> Btw, I'm probably missing something, because I don't understand how
> XLP in its current definition can work in a --with-wide-int build,
> where the size of a Lisp_Object is wider than both intptr_t and a
> 'void *'.
This has nothing to do with XLP. If you add a wide integer to a pointer
you still have a pointer, whereas if you add a wide integer to a pointer
converted to intptr_t, the result is of the widened type.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
- Re: san_ignore_object not found at link time, (continued)
- Re: san_ignore_object not found at link time, Eli Zaretskii, 2020/08/01
- Re: san_ignore_object not found at link time, T.V Raman, 2020/08/01
- Re: san_ignore_object not found at link time, Eli Zaretskii, 2020/08/01
- Re: san_ignore_object not found at link time, Philipp Stephani, 2020/08/01
- Re: san_ignore_object not found at link time, T.V Raman, 2020/08/01
- Re: san_ignore_object not found at link time, Alan Third, 2020/08/01
- Re: san_ignore_object not found at link time, Philipp Stephani, 2020/08/01
- Re: san_ignore_object not found at link time, Eli Zaretskii, 2020/08/01
- Re: san_ignore_object not found at link time, Eli Zaretskii, 2020/08/01
- Re: san_ignore_object not found at link time, Philipp Stephani, 2020/08/01
- Re: san_ignore_object not found at link time,
Andreas Schwab <=
- Re: san_ignore_object not found at link time, Philipp Stephani, 2020/08/01
- Re: san_ignore_object not found at link time, Eli Zaretskii, 2020/08/01
- Re: san_ignore_object not found at link time, Philipp Stephani, 2020/08/01
- Re: san_ignore_object not found at link time, Philipp Stephani, 2020/08/01
- Re: san_ignore_object not found at link time, Philipp Stephani, 2020/08/01
- Re: san_ignore_object not found at link time, Eli Zaretskii, 2020/08/01
- Re: san_ignore_object not found at link time, Eli Zaretskii, 2020/08/01
- Re: san_ignore_object not found at link time, Philipp Stephani, 2020/08/01
- Re: san_ignore_object not found at link time, Eli Zaretskii, 2020/08/02
- Re: san_ignore_object not found at link time, T.V Raman, 2020/08/01