PTX: Add preliminary support for outputting debug information in the form of
authorJustin Holewinski <justin.holewinski@gmail.com>
Fri, 24 Jun 2011 19:19:18 +0000 (19:19 +0000)
committerJustin Holewinski <justin.holewinski@gmail.com>
Fri, 24 Jun 2011 19:19:18 +0000 (19:19 +0000)
commit4799729d67983b08cac65c55083f7eeffc878b47
treefa8e1f9a5c46d2b5249e03174860378e1f7d60c5
parent25eba399cb7b4f9691cc63cb3829a00286c70bc4
PTX: Add preliminary support for outputting debug information in the form of
     .file and .loc directives.

Ideally, we would utilize the existing support in AsmPrinter for this, but
I cannot find a way to get .file and .loc directives to print without the
rest of the associated DWARF sections, which ptxas cannot handle.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133812 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PTX/PTXAsmPrinter.cpp