[PATCH] D136474: [CodeView][clang] Add flag to disable emitting command line into CodeView

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 21 11:10:08 PDT 2022


MaskRay added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4354
+
+    // Emit codeview command line if requested.
+    if (Args.hasFlag(options::OPT_gcodeview_command_line,
----------------
This needs a test in clang/test/Driver/

Use `addOptInFlag`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136474



More information about the cfe-commits mailing list