SWDEV-269880 - Fix luxmark 3.1 segfaults

To workaround a bug in std::regex() implementation.

Change-Id: I4ea2b40e0b74ee1ee79d31283937e43d361d37c2


[ROCm/clr commit: 4791447370]
이 커밋은 다음에 포함됨:
Jason Tang 작성하고 Jason Tang가 2021-02-01 16:12:36 -05:00를 커밋함
1 부모 c490930624
커밋 8dffe9c8e6
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -1555,7 +1555,7 @@ Options::setDumpFileName(const char* val)
std::stringstream prefix;
// Replace characters in the file name that are not legal with '_'.
prefix << dumpPrefix << "_" << buildNo << "_"
<< std::regex_replace(val, std::regex("[:]"), "_");
<< std::regex_replace(val, std::regex(":"), "_");
dumpFileRoot = prefix.str();
// Check whether the length of path meets the system limits