[PATCH] D56587: Introduce DW_OP_LLVM_convert

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 13 08:09:09 PST 2019

ABataev added a comment.

In D56587#1396249 <https://reviews.llvm.org/D56587#1396249>, @markus wrote:

> > NVPTX supports only DWARF2 and does not know anything about DWARF5 operations. Also, it does not support any type of the expression in the DWARF sections, except for `<section_name>+-<int_offset>`.
> Isn't the latter a rather restrictive limitation that should be addressed in the NVPTX assembler?

I agree, but this the limitation we have to live with, unfortunately. Either we support that limitation to have the debug info for NVPTX, or we don't have debug info for NVPTX. I cannot make NVidia to update their ptxas tool to support complex expressions in DWARF sections.



More information about the llvm-commits mailing list