[PATCH] D99785: [XCOFF] make .file directive have directory info

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 6 06:40:27 PDT 2021


hubert.reinterpretcast added a comment.

>From what I understand, this is meant to fix a situation where `dbx` is unhappy when the file is not simply compiled in the directory where it resides (using its basename). However, this unhappiness extends even to the compiled-using-basename case when the filename contains "special characters".

For example, a file with a tab character ends up with backslash escapes in the assembly (but the assembler on AIX doesn't interpret these):

  $ clang -mllvm -dwarf-inlined-strings=Enable a\    q.c -S -o - | grep -F .file
          .file   "a\tq.c"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99785



More information about the llvm-commits mailing list