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

Change-Id: I693ffd45b6b03657822afdc872781901bc69b65d


[ROCm/clr commit: b74d120627]
Этот коммит содержится в:
Tao Sang
2020-10-16 17:12:26 -04:00
коммит произвёл Tao Sang
родитель 48aabb82bf
Коммит 6c7b785a53
+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;