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

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 21 14:45:46 PDT 2022


probinson added a comment.
Herald added a subscriber: StephenFan.

> I traced it back to 2011 (commit 40f8f2ff "Add support for a new extension to the .file directive") , where it it was added as an extension and (I assume) later included into DWARFv5. Do we still want to support it as an extension for DWARF < 5, or it is only needed for integrated assembler?

The DWARF line table has had separate directory and file lists going back to DWARF v2; this .file directive syntax is unrelated to DWARF version.
If some external assemblers don't support the split .file syntax, the flags/conditions should reflect that based on target or whatever.  Certainly not on DWARF version.


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