[llvm-dev] Unsupported expression in static initializer?

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 15 14:08:31 PST 2017


On 15 February 2017 at 13:51, Andrew Kelley <superjoe30 at gmail.com> wrote:
> Is this simply not possible to determine? Is this because the target does
> not support non-byte-aligned relocations at link time?

Ouch, yeah that's just not representable in any object format I know
of. You'll probably have to initialize it dynamically if you really
need support.

Cheers.

Tim.


More information about the llvm-dev mailing list