Displaying 11 results from an estimated 11 matches for "data_alignment".
2007 Nov 07
7
[LLVMdev] RFC: llvm-convert.cpp Patch
...har C.0[11] = {0};
char Bar[11];
Bar = C.0;
}
Anyway, it turns out that the gimplifier was generating the correct
alignment, but it was being overridden in assemble_variable():
/* On some machines, it is good to increase alignment sometimes. */
if (! DECL_USER_ALIGN (decl))
{
#ifdef DATA_ALIGNMENT
align = DATA_ALIGNMENT (TREE_TYPE (decl), align);
#endif
#ifdef CONSTANT_ALIGNMENT
=> if (DECL_INITIAL (decl) != 0 && DECL_INITIAL (decl) != error_mark_node)
align = CONSTANT_ALIGNMENT (DECL_INITIAL (decl), align);
#endif
}
By setting the DECL_USER_ALIGN field, we c...
2007 Nov 07
0
[LLVMdev] RFC: llvm-convert.cpp Patch
...C.0;
> }
>
> Anyway, it turns out that the gimplifier was generating the correct
> alignment, but it was being overridden in assemble_variable():
>
> /* On some machines, it is good to increase alignment sometimes. */
> if (! DECL_USER_ALIGN (decl))
> {
> #ifdef DATA_ALIGNMENT
> align = DATA_ALIGNMENT (TREE_TYPE (decl), align);
> #endif
> #ifdef CONSTANT_ALIGNMENT
> => if (DECL_INITIAL (decl) != 0 && DECL_INITIAL (decl) !=
> error_mark_node)
> align = CONSTANT_ALIGNMENT (DECL_INITIAL (decl), align);
> #endif
> }...
2007 Nov 07
0
[LLVMdev] RFC: llvm-convert.cpp Patch
...r = C.0;
> }
>
> Anyway, it turns out that the gimplifier was generating the correct
> alignment, but it was being overridden in assemble_variable():
>
> /* On some machines, it is good to increase alignment sometimes. */
> if (! DECL_USER_ALIGN (decl))
> {
> #ifdef DATA_ALIGNMENT
> align = DATA_ALIGNMENT (TREE_TYPE (decl), align);
> #endif
> #ifdef CONSTANT_ALIGNMENT
> => if (DECL_INITIAL (decl) != 0 && DECL_INITIAL (decl) !=
> error_mark_node)
> align = CONSTANT_ALIGNMENT (DECL_INITIAL (decl), align);
> #endif
> }
>...
2015 Apr 11
2
[LLVMdev] __eh_frame info changes in Clang?
Nick,
Do you happen to know why the version reported in 'dwarfdump
--eh-frame' for object files now differs when compiled with and
without -g? The test used in FSF gcc's configure produces a diff of..
% diff -u conftest.o.g.stripped.dwarfdump conftest.o.g0.stripped.dwarfdump
--- conftest.o.g.stripped.dwarfdump 2015-04-10 21:43:15.000000000 -0400
+++
2007 Nov 07
3
[LLVMdev] RFC: llvm-convert.cpp Patch
...urns out that the gimplifier was generating the correct
>> alignment, but it was being overridden in assemble_variable():
>>
>> /* On some machines, it is good to increase alignment
>> sometimes. */
>> if (! DECL_USER_ALIGN (decl))
>> {
>> #ifdef DATA_ALIGNMENT
>> align = DATA_ALIGNMENT (TREE_TYPE (decl), align);
>> #endif
>> #ifdef CONSTANT_ALIGNMENT
>> => if (DECL_INITIAL (decl) != 0 && DECL_INITIAL (decl) !=
>> error_mark_node)
>> align = CONSTANT_ALIGNMENT (DECL_INITIAL (decl), align);
&g...
2010 Sep 01
2
[LLVMdev] "Cannot fine DIE"
On Wed, Sep 1, 2010 at 5:31 AM, Jonas Maebe <jonas.maebe at elis.ugent.be>wrote:
>
> On 01 Sep 2010, at 08:47, Talin wrote:
>
> > Once again, I have no idea what this means or how to go about
> > debugging it.
> > This is my biggest frustration with DIFactory - there's absolutely
> > no way to
> > verify that the DWARF debugging information that
2010 Sep 01
0
[LLVMdev] "Cannot fine DIE"
On 01 Sep 2010, at 08:47, Talin wrote:
> Once again, I have no idea what this means or how to go about
> debugging it.
> This is my biggest frustration with DIFactory - there's absolutely
> no way to
> verify that the DWARF debugging information that I've emitted into
> my module
> is correct or even sensible. The only way to test it is to try and
> debug
2010 Sep 01
0
[LLVMdev] "Cannot fine DIE"
On Wed, Sep 1, 2010 at 8:31 AM, Talin <viridia at gmail.com> wrote:
> On Wed, Sep 1, 2010 at 5:31 AM, Jonas Maebe <jonas.maebe at elis.ugent.be>wrote:
>
>>
>> On 01 Sep 2010, at 08:47, Talin wrote:
>>
>> > Once again, I have no idea what this means or how to go about
>> > debugging it.
>> > This is my biggest frustration with
2015 Apr 27
2
[LLVMdev] __eh_frame info changes in Clang?
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
> Behalf Of Rafael EspĂndola
> Sent: Monday, April 27, 2015 2:07 PM
> To: Jack Howarth
> Cc: LLVM Developers Mailing List
> Subject: Re: [LLVMdev] __eh_frame info changes in Clang?
>
> That looks like a bug.
>
> From
>
>
2010 Sep 01
2
[LLVMdev] "Cannot fine DIE"
On Sat, Aug 28, 2010 at 10:58 PM, Talin <viridia at gmail.com> wrote:
> On Sat, Aug 28, 2010 at 4:05 PM, Talin <viridia at gmail.com> wrote:
>
>> On Mon, Aug 23, 2010 at 5:58 PM, Devang Patel <devang.patel at gmail.com>wrote:
>>
>>>
>>> On Sun, Aug 22, 2010 at 12:50 PM, Talin <viridia at gmail.com> wrote:
>>>
>>>> I
2010 Sep 05
2
[LLVMdev] More DIFactory questions - still stumped
I hate to be a nag, but after several days of working on this I am still
utterly stumped.
Let me recap the situation as it currently stands: I'm trying to write code
that generates DWARF debugging information for my compiler using DIFactory
and friends. Unfortunately the information I am generating appears to be
invalid, but I can't figure out the cause.
Based on the advice in the