[PATCH] D17086: [NVPTX] emit .file directives for files referenced by subprograms.
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 10 14:20:19 PST 2016
tra added a comment.
In http://reviews.llvm.org/D17086#349010, @dblaikie wrote:
>
I'll simplify the test case.
> Separately, this code seems strange - why does NVPTXAsmPrinter::recordAndEmitFilenames exist? It seems insufficient (what about file names on types? (DW_AT_decl_file on a user-defined type) why doesn't code like this exist for any other target? etc)
At the moment NVPTX only supports emitting line info and never produces any other debugging directives or data. I guess recordAndEmitFilenames() was the bare minimum needed to get line info working.
http://reviews.llvm.org/D17086
More information about the llvm-commits
mailing list