Replace private libelf with elfio

Change-Id: I4c630d78f7bf23dda85ec8480bb2790864405657


[ROCm/clr commit: e986f5c820]
Tá an tiomantas seo le fáil i:
Tao Sang údaraithe agus Tao Sang tiomanta 2020-08-26 12:32:13 -04:00
1 tuismitheoir 60a2014504
tiomantas f3b85497ae
113 comhad athraithe
+6422 -20145

Níor tháinig aon chomhaid le do chuardach

+1 -1
Féach ar an gComhad
@@ -88,7 +88,7 @@ const Symbol* Program::findSymbol(const char* kernelName) const {
int32_t Program::addDeviceProgram(Device& device, const void* image, size_t length,
bool make_copy, amd::option::Options* options,
const amd::Program* same_prog) {
if (image != NULL && !amd::isElfMagic((const char*)image)) {
if (image != nullptr && !amd::Elf::isElfMagic((const char*)image)) {
if (device.settings().useLightning_) {
return CL_INVALID_BINARY;
}