[all-commits] [llvm/llvm-project] 641ff6: [DebugInfo] Add option for producing no source-fil...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Mon Jul 14 12:49:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 641ff6db383d0730ae2587c86aa59b6b3cf8341d
      https://github.com/llvm/llvm-project/commit/641ff6db383d0730ae2587c86aa59b6b3cf8341d
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/test/CodeGen/debug-info-file-checksum.c

  Log Message:
  -----------
  [DebugInfo] Add option for producing no source-file hash (#148657)

Clang can chose which sort of source-file hash is attached to a DIFile
metadata node. However, whenever hashing is possible, we /always/ attach
a hash. This patch permits users who want DWARF5 but don't want the file
hashes to opt out, by adding a "none" option to the -gsrc-hash option
that skips hash computation.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list