[PATCH] D121299: [NVPTX] Disable DWARF .file directory for PTX

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 24 10:58:52 PDT 2022


MaskRay requested changes to this revision.
MaskRay added inline comments.
This revision now requires changes to proceed.


================
Comment at: llvm/include/llvm/MC/MCTargetOptions.h:61
 
+  enum DwarfDirectory {
+    // Force disable
----------------
I am not sure the presumably temporary ptxas issue justifies the complexity here and in MCAsmInfo.h. If you really think so strongly that llc should use non-directory `.file` for NVPTX, you can temporarily only change llc instead.
But as my comment suggests, it will be unneeded.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121299/new/

https://reviews.llvm.org/D121299



More information about the llvm-commits mailing list