[cfe-commits] r82512 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Anders Carlsson andersca at mac.com
Mon Sep 21 19:47:22 PDT 2009


21 sep 2009 kl. 19.44 skrev Mike Stump:

> Author: mrs
> Date: Mon Sep 21 21:44:17 2009
> New Revision: 82512
>
> URL: http://llvm.org/viewvc/llvm-project?rev=82512&view=rev
> Log:
> Fix some typos.  WIP.  Large alignments don't work yet.

Why not? We now do the same as gcc for large alignments, insert  
padding bytes:

typedef int alignedInt __attribute__((aligned(1024)));

void f() {
   __block alignedInt ai = 10;
}

Becomes

%struct.__block_byref_ai = type <{ i8*, %struct.__block_byref_ai*,  
i32, i32, [1000 x i8], i32 }>




More information about the cfe-commits mailing list