[PATCH] D134544: [clang-cl] Implement /ZH: flag

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 23 15:00:14 PDT 2022


thakis added inline comments.


================
Comment at: clang/test/CodeGen/debug-info-file-checksum.c:3
+// RUN:     %S/Inputs/debug-info-file-checksum.c -o - | FileCheck %s
+// RUN: %clang -emit-llvm -S -g -gcodeview -gsrc-hash-algorithm=md5 -x c \
+// RUN:     %S/Inputs/debug-info-file-checksum.c -o - | FileCheck %s
----------------
thakis wrote:
> probinson wrote:
> > I thought `-gsrc...` was not a driver option, but here it is being passed to the driver?
> Good catch, thanks. https://reviews.llvm.org/D134544#inline-1297003 does mark it as `CC1Option`. It's definitely meant to be a driver option, let me look into why this works here. It shouldn't.
Aha, I want `NoDriverOption` too. Update coming in a bit…


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

https://reviews.llvm.org/D134544



More information about the cfe-commits mailing list