Add clang flag equivalent to clang-cl /Zl flag
authorAmy Huang <akhuang@google.com>
Thu, 15 Sep 2022 17:58:06 +0000 (17:58 +0000)
committerAmy Huang <akhuang@google.com>
Thu, 22 Sep 2022 23:08:52 +0000 (23:08 +0000)
commit3283f71069a0d91593c81a610a710979fb655d7f
tree519c41f9325c747b2e75a5edd7cf3dbecac5e546
parent794b7ea960ccc3222f2af582efadbc5e5c464292
Add clang flag equivalent to clang-cl /Zl flag

The /Zl flag omits default C runtime library name from obj files.
This patch just adds an equivalent clang driver flag.

Differential Revision: https://reviews.llvm.org/D133959
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/cl-runtime-flags.c