[PATCH] D40033: [NVPTX] Initial adaptation of MCAsmStreamer/MCTargetStreamer for debug info in Cuda.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 09:17:21 PST 2017
ABataev created this revision.
Herald added subscribers: aprantl, nemanjai, sdardis.
Initial changes in interfaces of MCAsmStreamer/MCTargetStreamer for
correct debug info emission for Cuda.
1. PTX foramt does not support `.ascii` directives. Added the ability to
nullify it.
2. DWARF `.loc` directives must be emitted after `.text` section and
cannot be inlined in function bodies.
3. The initial function label must follow the first debug `.loc`
directive, not be followed by.
4. DWARF sections must be enclosed in braces.
https://reviews.llvm.org/D40033
Files:
include/llvm/MC/MCAsmInfo.h
include/llvm/MC/MCStreamer.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCStreamer.cpp
test/CodeGen/Mips/mips16ex.ll
test/CodeGen/PowerPC/empty-functions.ll
test/CodeGen/X86/debug-nodebug-crash.ll
test/CodeGen/X86/eh-unknown.ll
test/CodeGen/X86/patchpoint-invoke.ll
test/CodeGen/X86/wineh-coreclr.ll
test/CodeGen/XCore/exception.ll
test/DebugInfo/COFF/inlining-header.ll
test/DebugInfo/COFF/multifile.ll
test/DebugInfo/COFF/multifunction.ll
test/DebugInfo/COFF/simple.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40033.122857.patch
Type: text/x-patch
Size: 13295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171114/e6940957/attachment.bin>
More information about the llvm-commits
mailing list