[all-commits] [llvm/llvm-project] cf311a: [NVPTX] Fix DWARF section printing

Jeff Niu via All-commits all-commits at lists.llvm.org
Fri Jun 28 10:56:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf311a1131b9aef3e66b2a20ad49cfc77212754b
      https://github.com/llvm/llvm-project/commit/cf311a1131b9aef3e66b2a20ad49cfc77212754b
  Author: Mogball <jeff at modular.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
    M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
    M llvm/test/DebugInfo/NVPTX/cu-range-hole.ll

  Log Message:
  -----------
  [NVPTX] Fix DWARF section printing

There was a lot of changes to MC recently, so I'm no longer sure what is
the root cause here, but the NVPTX DWARF printing was printing an
extra closing brace, causing the PTX to be invalid. This should fix it
by only printing the closing brace when the printer has already seen an
opening brace for a DWARF section.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list