[PATCH] D114632: [Docs] Removed /Zd flag still mentioned in documentation

BHUMITRAM KUMAR via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 26 04:32:18 PST 2021


BHUMITRAM created this revision.
BHUMITRAM added reviewers: aaron.ballman, xgupta.
BHUMITRAM requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

https://reviews.llvm.org/D93458 removed the /Zd flag as MSVC doesn't support that syntax. Instead users should be using -gline-tables-only.
The /Zd flag is still mentioned at https://clang.llvm.org/docs/UsersManual.html#clang-cl :   /Zd                     Emit debug line number tables only.

Fix PR52571


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114632

Files:
  clang/docs/UsersManual.rst


Index: clang/docs/UsersManual.rst
===================================================================
--- clang/docs/UsersManual.rst
+++ clang/docs/UsersManual.rst
@@ -3716,7 +3716,6 @@
       /Zc:trigraphs           Enable trigraphs
       /Zc:twoPhase-           Disable two-phase name lookup in templates
       /Zc:twoPhase            Enable two-phase name lookup in templates
-      /Zd                     Emit debug line number tables only
       /Zi                     Alias for /Z7. Does not produce PDBs.
       /Zl                     Don't mention any default libraries in the object file
       /Zp                     Set the default maximum struct packing alignment to 1


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114632.390000.patch
Type: text/x-patch
Size: 687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211126/52b24a18/attachment.bin>


More information about the cfe-commits mailing list