Fix ocltst test issue

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

Change-Id: I693ffd45b6b03657822afdc872781901bc69b65d
This commit is contained in:
Tao Sang
2020-10-16 17:12:26 -04:00
zatwierdzone przez Tao Sang
rodzic 5c1b96c844
commit b74d120627
+1 -1
Wyświetl plik
@@ -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;