[PATCH] D105662: Fix incorrect DWARF 5 file name 0 when using -no-integrated-as

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 9 13:40:41 PDT 2021


dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.

In D105662#2867839 <https://reviews.llvm.org/D105662#2867839>, @osandov wrote:

> I'm not passing any flags to opt in to hashes, and I'm getting them:
>
>   $ clang --version
>   clang version 12.0.0
>   Target: x86_64-pc-linux-gnu
>   Thread model: posix
>   InstalledDir: /usr/bin
>   $ clang -g -gdwarf-5 -no-integrated-as -S foo/bar/baz.c -o - | grep '\.file'
>           .file   "baz.c"
>           .file   0 "/home/osandov/test/foo/bar/baz.c" md5 0xb4cbdfedf192abeca40bb6878f7c6e43
>
> With the same results on the main branch. I don't have access to a non-Linux system to check there, though.

ah, right - fair enough then.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105662



More information about the llvm-commits mailing list