Displaying 3 results from an estimated 3 matches for "sec09_memori".
Did you mean:
sec09_memory
2012 Aug 14
1
[LLVMdev] [cfe-dev] global alignment
On 8/14/12 12:19 PM, John McCall wrote:
> On Aug 14, 2012, at 7:31 AM, Baozeng wrote:
>> Hello all,
>> I found that the alignment for stack value has no limitation, but for global value, it has a limitation.
Baozen, with what version of LLVM did you do the following test? Was it
LLVM mainline?
>>
>> Here is an example:
>>
>> #include <stdio.h>
2012 Aug 14
0
[LLVMdev] [cfe-dev] global alignment
On Aug 14, 2012, at 7:31 AM, Baozeng wrote:
> Hello all,
> I found that the alignment for stack value has no limitation, but for global value, it has a limitation.
>
> Here is an example:
>
> #include <stdio.h>
> #include <stdlib.h>
>
> char x[4000] __attribute__((aligned(4096)));
>
> int
> main (int argc, char ** argv) {
> char y[4000]
2012 Aug 14
3
[LLVMdev] global alignment
Hello all,
I found that the alignment for stack value has no limitation, but for
global value, it has a limitation.
Here is an example:
#include <stdio.h>
#include <stdlib.h>
char x[4000] __attribute__((aligned(4096)));
int
main (int argc, char ** argv) {
char y[4000] __attribute__((aligned(4096)));
printf("x is %p\n", x);
printf("y is %p\n", y);
return