[PATCH] D25620: DebugInfo: introduce DIAlignment type

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 09:53:40 PDT 2016


Pretty sure a bunch of other stuff in LLVM would break if it were built on
such a platform, but I'm not sure if we have an explicit agreement that
certain properties like unsigned being 32 bits are required for LLVM.

I'll leave it up to Adrian.

On Mon, Oct 17, 2016 at 9:43 AM Victor Leschuk <vleschuk at accesssoftek.com>
wrote:

> vleschuk added a comment.
>
> In https://reviews.llvm.org/D25620#571724, @aprantl wrote:
>
> > After letting this sit for a few days, I think that using an unsigned
> (there doesn't seem to be much precedent for uint32_t) is the way to go.
> It's more readable than an opaque DIAlignment type (whose size isn't
> obvious from the name).
>
>
> What about platforms where sizeof(unsigned) could be 2, standard does
> allow that, I'd rather use cstdint types.
>
>
> https://reviews.llvm.org/D25620
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161017/be1b2147/attachment.html>


More information about the llvm-commits mailing list