- Reduce sanitizer option length

This commit is contained in:
Roy Qu 2024-02-20 12:55:27 +08:00
parent 0faea6ac69
commit 625475fabd
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ void CompilerInfo::prepareCompilerOptions()
addOption(CC_CMD_OPT_STACK_PROTECTOR , QObject::tr("Check for stack smashing attacks (-fstack-protector)"), groupName, false, false, true, "-fstack-protector", CompilerOptionType::Choice, sl); addOption(CC_CMD_OPT_STACK_PROTECTOR , QObject::tr("Check for stack smashing attacks (-fstack-protector)"), groupName, false, false, true, "-fstack-protector", CompilerOptionType::Choice, sl);
sl.clear(); sl.clear();
sl.append(QPair<QString,QString>("Address","address")); sl.append(QPair<QString,QString>("Address","address"));
sl.append(QPair<QString,QString>("Hardware-assisted address (arm64 only)","hwaddress")); sl.append(QPair<QString,QString>("Hwaddress","hwaddress"));
sl.append(QPair<QString,QString>("Thread","thread")); sl.append(QPair<QString,QString>("Thread","thread"));
sl.append(QPair<QString,QString>("Leak","leak")); sl.append(QPair<QString,QString>("Leak","leak"));
sl.append(QPair<QString,QString>("Undefined","undefined")); sl.append(QPair<QString,QString>("Undefined","undefined"));