Displaying 8 results from an estimated 8 matches for "createautovari".
2018 Mar 31
2
[Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext
Hi,
First, considering I'm using an IRBuilder and a DIBuilder to build my
program, how can I automatically bind the CreateAlloca with my named local
variable inside the DIBuilder ? Is it automatic with the Twine name of
CreateAlloca ? And/Or should I use DIBuilder::createAutoVariable and how ?
Then, I'm wondering how to locate back my local variable in memory
(register or stack) once i have a DwarfContext ready.
I'm a bit lost with all this pipeline, sorry If my question seem trivial.
Thanks !
Vivien
-------------- next part --------------
An HTML attachment was...
2011 Feb 25
2
[LLVMdev] DIFactory interface is going away
...RF concept anyway. It is just an approach used my predecessor to communicate debug info from FE to llvm code generator.
Indeed, I liked the way it's hidden in DIBuilder. Also the way
typerefs are dealt with, too, is very good.
Would be good to split CreateLocalVariable into CreateArgValue and
CreateAutoVariable. Also would be good to have a simpler array types
creation (CreateArrayType(size, align, ty, num_elms)).
cheers,
--renato
2018 Apr 01
0
[Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext
...t later with a DwarfContext
Hi,
First, considering I'm using an IRBuilder and a DIBuilder to build my program, how can I automatically bind the CreateAlloca with my named local variable inside the DIBuilder ? Is it automatic with the Twine name of CreateAlloca ? And/Or should I use DIBuilder::createAutoVariable and how ?
Then, I'm wondering how to locate back my local variable in memory (register or stack) once i have a DwarfContext ready.
I'm a bit lost with all this pipeline, sorry If my question seem trivial.
Thanks !
Vivien
-------------- next part --------------
An HTML attachment was...
2018 Apr 01
2
[Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext
...> Hi,
>
> First, considering I'm using an IRBuilder and a DIBuilder to build my
> program, how can I automatically bind the CreateAlloca with my named local
> variable inside the DIBuilder ? Is it automatic with the Twine name of
> CreateAlloca ? And/Or should I use DIBuilder::createAutoVariable and how ?
>
>
> Then, I'm wondering how to locate back my local variable in memory
> (register or stack) once i have a DwarfContext ready.
>
> I'm a bit lost with all this pipeline, sorry If my question seem trivial.
>
> Thanks !
>
> Vivien
>
-----------...
2018 Apr 02
0
[Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext
...t;> First, considering I'm using an IRBuilder and a DIBuilder to build my
>> program, how can I automatically bind the CreateAlloca with my named local
>> variable inside the DIBuilder ? Is it automatic with the Twine name of
>> CreateAlloca ? And/Or should I use DIBuilder::createAutoVariable and how ?
>>
>>
>> Then, I'm wondering how to locate back my local variable in memory
>> (register or stack) once i have a DwarfContext ready.
>>
>> I'm a bit lost with all this pipeline, sorry If my question seem trivial.
>>
>> Thanks !
&...
2011 Feb 25
0
[LLVMdev] DIFactory interface is going away
On Feb 25, 2011, at 5:23 AM, Renato Golin wrote:
> On 24 February 2011 21:34, Jason Kim <jasonwkim at google.com> wrote:
>> On Thu, Feb 24, 2011 at 1:29 PM, Devang Patel <dpatel at apple.com> wrote:
>
> It simplified a bit type construction but the overall code did not
> reduce that much.
The old interface expected FEs to keep track of everything, where as new
2011 Feb 25
0
[LLVMdev] DIFactory interface is going away
On Feb 25, 2011, at 9:02 AM, Renato Golin wrote:
> Would be good to split CreateLocalVariable into CreateArgValue and
> CreateAutoVariable. Also would be good to have a simpler array types
> creation (CreateArrayType(size, align, ty, num_elms)).
That'd be straight forward to do. Patches welcome!
-
Devang
2011 Feb 25
2
[LLVMdev] DIFactory interface is going away
On 24 February 2011 21:34, Jason Kim <jasonwkim at google.com> wrote:
> On Thu, Feb 24, 2011 at 1:29 PM, Devang Patel <dpatel at apple.com> wrote:
It simplified a bit type construction but the overall code did not
reduce that much. It's still very similar to the previous style but
had a few differences in the IR output.
We had LIT tests that checked the IR and Dwarf and GDB