This is an archive of the discontinued LLVM Phabricator instance.

[NVPTX][DEBUGINFO]Temp fix for crash of ptxas: disable packed bytes in debug sections.
ClosedPublic

Authored by ABataev on Mar 8 2019, 11:57 AM.

Details

Summary

This patch fixes the bug in the ptxas tool with the processing of bytes
separated by the comma symbol. The emission of the packed string is
temporarily disabled.

Diff Detail

Repository
rL LLVM

Event Timeline

ABataev created this revision.Mar 8 2019, 11:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2019, 11:57 AM
tra accepted this revision.Mar 8 2019, 1:21 PM

This patch fixes the bug in the ptxas tool with the processing of bytes

'works around' may be a better match as the ptxas still has the bug.

lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
106–127 ↗(On Diff #189901)

I'd use #if 0 to disable the code.

This revision is now accepted and ready to land.Mar 8 2019, 1:21 PM
ABataev marked an inline comment as done.Mar 8 2019, 1:24 PM

Fixed the comment, thanks!

This revision was automatically updated to reflect the committed changes.
llvm/trunk/test/DebugInfo/NVPTX/debug-file-loc.ll