Fix ocltst test issue

Fix dumpImage() issue exposed on Win10.
It's called by internal compiler on Navi14

Change-Id: I693ffd45b6b03657822afdc872781901bc69b65d
这个提交包含在:
Tao Sang 编写, Tao Sang 于 2020-10-18 22:10:59 -04:00 提交
1 父节点 5c1b96c844
当前提交 b74d120627
1 个文件已更改
+1 -1
+1 -1
查看文件
@@ -930,7 +930,7 @@ bool Elf::dumpImage(char** buff, size_t* len)
if (buff != nullptr && len != nullptr) {
std::ifstream is;
is.open(dumpFile); // open input file
is.open(dumpFile, std::ifstream::in | std::ifstream::binary); // open input file
if (!is.good()) {
LogElfError("failed in is.open(%s)", dumpFile.c_str());
return false;