Re: [PATCH v4 1/7] kcsan: Add atomic builtin stubs for 32-bit systems

2023-02-09 Thread Rohan McLure
> On 9 Feb 2023, at 10:14 am, Rohan McLure wrote: > > > >> On 8 Feb 2023, at 11:23 pm, Christophe Leroy >> wrote: >> >> >> >> Le 08/02/2023 à 04:21, Rohan McLure a écrit : >>> KCSAN instruments calls to atomic builtins, and will in turn call these >>> builtins itself. As such, architect

Re: [PATCH v4 1/7] kcsan: Add atomic builtin stubs for 32-bit systems

2023-02-08 Thread Rohan McLure
> On 8 Feb 2023, at 11:23 pm, Christophe Leroy > wrote: > > > > Le 08/02/2023 à 04:21, Rohan McLure a écrit : >> KCSAN instruments calls to atomic builtins, and will in turn call these >> builtins itself. As such, architectures supporting KCSAN must have >> compiler support for these atomic

Re: [PATCH v4 1/7] kcsan: Add atomic builtin stubs for 32-bit systems

2023-02-08 Thread Christophe Leroy
Le 08/02/2023 à 04:21, Rohan McLure a écrit : > KCSAN instruments calls to atomic builtins, and will in turn call these > builtins itself. As such, architectures supporting KCSAN must have > compiler support for these atomic primitives. > > Since 32-bit systems are unlikely to have 64-bit compil

Re: [PATCH v4 1/7] kcsan: Add atomic builtin stubs for 32-bit systems

2023-02-07 Thread Max Filippov
On Tue, Feb 7, 2023 at 7:22 PM Rohan McLure wrote: > > KCSAN instruments calls to atomic builtins, and will in turn call these > builtins itself. As such, architectures supporting KCSAN must have > compiler support for these atomic primitives. > > Since 32-bit systems are unlikely to have 64-bit c

[PATCH v4 1/7] kcsan: Add atomic builtin stubs for 32-bit systems

2023-02-07 Thread Rohan McLure
KCSAN instruments calls to atomic builtins, and will in turn call these builtins itself. As such, architectures supporting KCSAN must have compiler support for these atomic primitives. Since 32-bit systems are unlikely to have 64-bit compiler builtins, provide a stub for each missing builtin, and