Valgrind: Collapse project and global settings classes

Change-Id: I41b157bb07a451851641c7a5785334bd28036f45
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2023-07-25 13:07:40 +02:00
parent a419670ff5
commit cecf9c9136
9 changed files with 78 additions and 136 deletions

View File

@@ -104,16 +104,16 @@ QStringList ValgrindToolRunner::genericToolArguments() const
QString smcCheckValue;
switch (m_settings.selfModifyingCodeDetection()) {
case ValgrindBaseSettings::DetectSmcNo:
case ValgrindSettings::DetectSmcNo:
smcCheckValue = "none";
break;
case ValgrindBaseSettings::DetectSmcEverywhere:
case ValgrindSettings::DetectSmcEverywhere:
smcCheckValue = "all";
break;
case ValgrindBaseSettings::DetectSmcEverywhereButFile:
case ValgrindSettings::DetectSmcEverywhereButFile:
smcCheckValue = "all-non-file";
break;
case ValgrindBaseSettings::DetectSmcStackOnly:
case ValgrindSettings::DetectSmcStackOnly:
default:
smcCheckValue = "stack";
break;