File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1761,7 +1761,11 @@ void LinkerDriver::linkerMain(ArrayRef<const char *> argsArr) {
1761
1761
args.hasArg (OPT_driver_wdm_uponly);
1762
1762
config->driver |=
1763
1763
config->driverUponly || config->driverWdm || args.hasArg (OPT_driver);
1764
-
1764
+
1765
+ // Handle /dont-create-pdb
1766
+ if (args.hasArg (OPT_dont_create_pdb))
1767
+ shouldCreatePDB = false ;
1768
+
1765
1769
// Handle /pdb
1766
1770
if (shouldCreatePDB) {
1767
1771
if (auto *arg = args.getLastArg (OPT_pdb))
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ multiclass B_priv<string name> {
30
30
31
31
def dont_merge_sections: F<"dont-merge-sections">,
32
32
HelpText<"Each data directory will have its own section">;
33
-
33
+ def dont_create_pdb: F<"dont-create-pdb">,
34
+ HelpText<"Do not create pdb">;
34
35
def align : P<"align", "Section alignment">;
35
36
def aligncomm : P<"aligncomm", "Set common symbol alignment">;
36
37
def alternatename : P<"alternatename", "Define weak alias">;
You can’t perform that action at this time.
0 commit comments