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.