Skip to content

Commit ffe1c6f

Browse files
committed
Revert "[LLD][ELF] Update ltoo optimization level to 0"
This reverts commit 36e70cf.
1 parent 36e70cf commit ffe1c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/ELF/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ static void readConfigs(opt::InputArgList &args) {
13071307
config->ltoValidateAllVtablesHaveTypeInfos =
13081308
args.hasFlag(OPT_lto_validate_all_vtables_have_type_infos,
13091309
OPT_no_lto_validate_all_vtables_have_type_infos, false);
1310-
config->ltoo = args::getInteger(args, OPT_lto_O, 0);
1310+
config->ltoo = args::getInteger(args, OPT_lto_O, 2);
13111311
if (config->ltoo > 3)
13121312
error("invalid optimization level for LTO: " + Twine(config->ltoo));
13131313
unsigned ltoCgo =

0 commit comments

Comments
 (0)