[PATCH] D88196: [DEBUGINFO, NVPTX] Removed Label Arithmetic from DWARF Pub Sections for NVPTX
Julia Tatz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 19:55:32 PDT 2020
jdtatz created this revision.
jdtatz added reviewers: ABataev, tra.
Herald added subscribers: llvm-commits, hiraditya, jholewinski.
Herald added a project: LLVM.
jdtatz requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
The NVPTX target disallows both labels in debug sections and label arithmetic,
so instead the content sizes are computed before writing. The new test
in "debug-pub.ll" was added for this specfic change. Also included
are the renabling of Data16bitsDirective and NVPTXTargetStreamer::emitRawBytes,
which have been fixed since CUDA 9.0, with the debuginfo tests updated for this.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88196
Files:
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
llvm/test/DebugInfo/NVPTX/cu-range-hole.ll
llvm/test/DebugInfo/NVPTX/dbg-declare-alloca.ll
llvm/test/DebugInfo/NVPTX/debug-addr-class.ll
llvm/test/DebugInfo/NVPTX/debug-file-loc.ll
llvm/test/DebugInfo/NVPTX/debug-info.ll
llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
llvm/test/DebugInfo/NVPTX/debug-pub.ll
More information about the llvm-commits
mailing list