Revert "Handle the very confusing dual encoding of the symbol name."

This reverts commit bce3de8162.
Este commit está contenido en:
Siu Chi Chan
2018-11-29 11:38:36 -05:00
padre 09f87e41d9
commit 71189c10c1
+3 -3
Ver fichero
@@ -404,10 +404,11 @@ void read_kernarg_metadata(
if (dx == string::npos) break;
static constexpr decltype(tmp.size()) name_sz{5};
dx = tmp.find_first_not_of(" '", dx + name_sz);
dx = tmp.find_first_not_of(' ', dx + name_sz);
auto fn = tmp.substr(dx, tmp.find_first_of("'\n", dx) - dx);
auto fn = tmp.substr(dx, tmp.find('\n', dx) - dx);
dx += fn.size();
dx = tmp.find("Args:", dx);
if (dx == string::npos) break;
@@ -595,7 +596,6 @@ unordered_map<string, vector<pair<size_t, size_t>>>& kernargs() {
}
});
for (auto&& x : r) std::cerr << x.first << std::endl;
return r;
}