More blobs, more problems.

此提交包含在:
Alex Voicu authored and Maneesh Gupta committed 2019-01-01 11:01:07 +05:30
1 父節點 3e8f198b58
當前提交 b2f76123b1
1 file changed
+7 -6
+7 -6
查看文件
@@ -591,14 +591,15 @@ unordered_map<string, vector<pair<size_t, size_t>>>& kernargs() {
static once_flag f;
call_once(f, []() {
for (auto&& blob : code_object_blobs()) {
stringstream tmp{std::string{
blob.second.front().cbegin(), blob.second.front().cend()}};
for (auto&& isa_blobs : code_object_blobs()) {
for (auto&& blob : isa_blobs.second) {
stringstream tmp{std::string{blob.cbegin(), blob.cend()}};
elfio reader;
if (!reader.load(tmp)) continue;
elfio reader;
if (!reader.load(tmp)) continue;
read_kernarg_metadata(reader, r);
read_kernarg_metadata(reader, r);
}
}
});