Skip to content

Commit e12681a

Browse files
committed
[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.)
1 parent d8b0e61 commit e12681a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9079,6 +9079,7 @@ def _SLASH_clr : CLJoined<"clr">;
90799079
def _SLASH_d1 : CLJoined<"d1">;
90809080
def _SLASH_d2 : CLJoined<"d2">;
90819081
def _SLASH_doc : CLJoined<"doc">;
9082+
def _SLASH_dynamicdeopt : CLJoined<"dynamicdeopt">;
90829083
def _SLASH_experimental : CLJoined<"experimental:">;
90839084
def _SLASH_exportHeader : CLFlag<"exportHeader">;
90849085
def _SLASH_external : CLJoined<"external:">;

clang/test/Driver/cl-options.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,9 @@
437437
// RUN: /d1import_no_registry \
438438
// RUN: /d1nodatetime \
439439
// RUN: /d2FH4 \
440+
// RUN: /d2TrimInlines \
440441
// RUN: /docname \
442+
// RUN: /dynamicdeopt \
441443
// RUN: /experimental:external \
442444
// RUN: /experimental:module \
443445
// RUN: /experimental:preprocessor \

0 commit comments

Comments
 (0)