Linux/ARM: Bus error with -O3 flag of clang/llvm-3.6 while running unit-test of .NET Core

Tim Northover via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 07:01:45 PDT 2016


On 20 July 2016 at 01:05, Geunsik Lim <leemgs at gmail.com> wrote:
> If you already know the some webpages about the "*(int
> __attribute__((aligned(1))) *)ptr = 2; // Wrong, attribute ignored"
> statement,
> Could you share me that? I would like to use the statement ASAP

As far as I'm aware there is no Clang drop-in replacement for the
UNALIGNED macro used by CoreCLR.

> there are too many UNALIGNED usages in the CoreCLR source code.

Yes, it looked like it would be a tedious change to me too.

Tim.


More information about the llvm-commits mailing list