Improve performance of v2 arg handling (#1539)

* Improve performance of v2 arg handling

* Missing change to `std::string`


[ROCm/hip commit: c4a51f3679]
This commit is contained in:
searlmc1
2019-10-24 05:14:05 -07:00
committed by Maneesh Gupta
parent 52a5380263
commit 4d668d5a52
3 changed files with 150 additions and 77 deletions
@@ -86,7 +86,7 @@ struct Bundled_code {
char cbuf[sizeof(offset) + sizeof(bundle_sz) + sizeof(triple_sz)];
} header;
std::string triple;
std::vector<char> blob;
std::string blob;
};
#define magic_string_ "__CLANG_OFFLOAD_BUNDLE__"