Displaying 5 results from an estimated 5 matches for "dbgconstant".
2016 May 09
2
RFC: metadata attachments for global variables
...type), which as a side effect caused us to (as far as I can tell)
> no longer store ConstantInts in the variable field.
>
Actually this isn't accurate, we still produce a ConstantInt in the
variable field of DIGlobalVariable for constants in the global scope (e.g.
test/CodeGen/2010-08-10-DbgConstant.c in clang). I'll have to think more
about what the right representation is for that then.
Thanks,
--
--
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160509/7d0b9240/attachment.html>
2016 May 09
4
RFC: metadata attachments for global variables
...as I can tell)
>>> no longer store ConstantInts in the variable field.
>>>
>>
>> Actually this isn't accurate, we still produce a ConstantInt in the
>> variable field of DIGlobalVariable for constants in the global scope (e.g.
>> test/CodeGen/2010-08-10-DbgConstant.c in clang). I'll have to think more
>> about what the right representation is for that then.
>>
>
> Looks like this might be broken/have regressed at some point:
>
> static const int x = 3;
> void f1(int);
> void f2(int*);
> void f3() {
> f1(x);
> f2(...
2016 May 10
2
RFC: metadata attachments for global variables
...gt;> no longer store ConstantInts in the variable field.
>>>>
>>>
>>> Actually this isn't accurate, we still produce a ConstantInt in the
>>> variable field of DIGlobalVariable for constants in the global scope (e.g.
>>> test/CodeGen/2010-08-10-DbgConstant.c in clang). I'll have to think more
>>> about what the right representation is for that then.
>>>
>>
>> Looks like this might be broken/have regressed at some point:
>>
>> static const int x = 3;
>> void f1(int);
>> void f2(int*);
>>...
2016 May 10
2
RFC: metadata attachments for global variables
...ore ConstantInts in the variable field.
>>>>>
>>>>
>>>> Actually this isn't accurate, we still produce a ConstantInt in the
>>>> variable field of DIGlobalVariable for constants in the global scope (e.g.
>>>> test/CodeGen/2010-08-10-DbgConstant.c in clang). I'll have to think more
>>>> about what the right representation is for that then.
>>>>
>>>
>>> Looks like this might be broken/have regressed at some point:
>>>
>>> static const int x = 3;
>>> void f1(int);
>&...
2016 May 09
2
RFC: metadata attachments for global variables
On Mon, May 9, 2016 at 1:53 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
>
> On Fri, May 6, 2016 at 2:10 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
>>
>>
>> On Fri, May 6, 2016 at 2:09 PM, David Blaikie <dblaikie at gmail.com> wrote:
>>
>>>
>>>
>>> On Fri, May 6, 2016 at 1:55 PM, Peter Collingbourne