[PATCH] D98438: Clang: Allow selecting the hash algorithm for file checksums in debug info.

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 11 23:20:35 PST 2021


jansvoboda11 added inline comments.


================
Comment at: clang/include/clang/Driver/Options.td:2775
 def gno_split_dwarf : Flag<["-"], "gno-split-dwarf">, Group<g_flags_Group>;
+def gsrc_hash_algorithm_EQ : Joined<["-"], "gsrc-hash-algorithm=">, Group<g_flags_Group>, Flags<[CC1Option]>,
+  HelpText<"Hashing algorithm for file checksum in debug info 'md5', 'sha1', or 'sha256'">,
----------------
Can you please use a marshalling annotation here and remove the code in `CompilerInvocation.cpp`? https://clang.llvm.org/docs/InternalsManual.html#adding-new-command-line-option


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98438



More information about the cfe-commits mailing list