[PATCH] D41827: [DEBUG] Initial adaptation of NVPTX target for debug info emission.

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 17:02:03 PST 2018


The patch emits line number debug info without any flags if there is required debug metadata in LLVM IR. 

Best regards,
Alexey Bataev

> 8 янв. 2018 г., в 19:59, Gautam Chakrabarti <gchakrabarti at nvidia.com> написал(а):
> 
> Hmmm, okay. It was supposed to have worked if incoming IR had line number metadata attached to instructions (even in absence of full-fledged debug info).
> 
> Gautam
> 
> -----Original Message-----
> From: Alexey Bataev [mailto:a.bataev at hotmail.com] 
> Sent: Monday, January 08, 2018 4:49 PM
> To: Gautam Chakrabarti <gchakrabarti at nvidia.com>
> Cc: reviews+D41827+public+973d1441f07c1a82 at reviews.llvm.org; echristo at gmail.com; jlebar at google.com; tra at google.com; Justin Holewinski <jholewinski at nvidia.com>; mgorny at gentoo.org; aprantl at apple.com; jdevlieghere at apple.com; llvm-commits at lists.llvm.org
> Subject: Re: [PATCH] D41827: [DEBUG] Initial adaptation of NVPTX target for debug info emission.
> 
> No, not anymore. But even before you could not emit line info without -g flag (codegen has no info about line numbers without -g)
> 
> Best regards,
> Alexey Bataev
> 
>> 8 янв. 2018 г., в 19:30, Gautam Chakrabarti <gchakrabarti at nvidia.com> написал(а):
>> 
>> The flag was for emitting line info even without -g. There is such a mode with this change as well?
>> 
>> Gautam
>> 
>> -----Original Message-----
>> From: Alexey Bataev [mailto:a.bataev at hotmail.com]
>> Sent: Monday, January 08, 2018 4:01 PM
>> To: reviews+D41827+public+973d1441f07c1a82 at reviews.llvm.org
>> Cc: echristo at gmail.com; jlebar at google.com; tra at google.com; Justin 
>> Holewinski <jholewinski at nvidia.com>; Gautam Chakrabarti 
>> <gchakrabarti at nvidia.com>; mgorny at gentoo.org; aprantl at apple.com; 
>> jdevlieghere at apple.com; llvm-commits at lists.llvm.org
>> Subject: Re: [PATCH] D41827: [DEBUG] Initial adaptation of NVPTX target for debug info emission.
>> 
>> Seems to me it was working, but is not required anymore
>> 
>> Best regards,
>> Alexey Bataev
>> 
>>> 8 янв. 2018 г., в 18:40, Gautam Chakrabarti via Phabricator <reviews at reviews.llvm.org> написал(а):
>>> 
>>> gchakrabarti added a comment.
>>> 
>>> Was the option nvptx-emit-line-numbers working? I see it removed.
>>> 
>>> 
>>> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Frev
>>> iews.llvm.org%2FD41827&data=02%7C01%7C%7C719b3ce6b7024b27bcd808d556f1
>>> 3f8c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636510516510367023&
>>> sdata=jEQWYhDEe8uN5vq%2FI%2BTGvnYzO69JYLaTml6CX8kW6Oc%3D&reserved=0
>>> 
>>> 
>>> 
>> 
>> ----------------------------------------------------------------------
>> ------------- This email message is for the sole use of the intended 
>> recipient(s) and may contain confidential information.  Any 
>> unauthorized review, use, disclosure or distribution is prohibited.  
>> If you are not the intended recipient, please contact the sender by 
>> reply email and destroy all copies of the original message.
>> ----------------------------------------------------------------------
>> -------------


More information about the llvm-commits mailing list