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

Omar Sandoval via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 9 12:19:57 PDT 2021


osandov added a comment.

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.


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