Skip to content

Commit d317037

Browse files
authored
CommandLineInfo: add /asan flag (#6)
1 parent 773cd29 commit d317037

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CommandLineInfo.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ void CommandLineInfo::ParseParam(const wchar_t* pszParam, BOOL bFlag, BOOL bLast
3434

3535
if (_wcsicmp(pszParam, L"arm64") == 0)
3636
_options->architecture=Architecture::Arm64;
37+
else if (_wcsicmp(pszParam, L"asan") == 0)
38+
_options->enableASAN=TRUE;
3739
else if (_wcsicmp(pszParam, L"deprecated") == 0)
3840
_options->excludeDeprecated=FALSE;
3941
else if (_wcsicmp(pszParam, L"dynamic") == 0)

0 commit comments

Comments
 (0)