Author: Hans Wennborg Date: 2025-04-22T11:11:33+02:00 New Revision: e12681ae733e8341c161534d4d4de2611573b616
URL: https://github.com/llvm/llvm-project/commit/e12681ae733e8341c161534d4d4de2611573b616 DIFF: https://github.com/llvm/llvm-project/commit/e12681ae733e8341c161534d4d4de2611573b616.diff LOG: [clang-cl] Parse the /dynamicdeopt option which was mentioned in https://devblogs.microsoft.com/cppblog/cpp-dynamic-debugging-full-debuggability-for-optimized-builds/ (That post also mentions /d2DDTrimInlines, which we already parse via a /d2 catch-all.) Added: Modified: clang/include/clang/Driver/Options.td clang/test/Driver/cl-options.c Removed: ################################################################################ diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index 8224e734a5a5c..a9f4083920663 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -9079,6 +9079,7 @@ def _SLASH_clr : CLJoined<"clr">; def _SLASH_d1 : CLJoined<"d1">; def _SLASH_d2 : CLJoined<"d2">; def _SLASH_doc : CLJoined<"doc">; +def _SLASH_dynamicdeopt : CLJoined<"dynamicdeopt">; def _SLASH_experimental : CLJoined<"experimental:">; def _SLASH_exportHeader : CLFlag<"exportHeader">; def _SLASH_external : CLJoined<"external:">; diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c index eb4c74378f9d7..beaef09c8a8d9 100644 --- a/clang/test/Driver/cl-options.c +++ b/clang/test/Driver/cl-options.c @@ -437,7 +437,9 @@ // RUN: /d1import_no_registry \ // RUN: /d1nodatetime \ // RUN: /d2FH4 \ +// RUN: /d2TrimInlines \ // RUN: /docname \ +// RUN: /dynamicdeopt \ // RUN: /experimental:external \ // RUN: /experimental:module \ // RUN: /experimental:preprocessor \ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits