2
0

Replace private libelf with elfio

Change-Id: I4c630d78f7bf23dda85ec8480bb2790864405657
Este cometimento está contido em:
Tao Sang
2020-07-29 09:41:02 -04:00
cometido por Tao Sang
ascendente 70139d6e34
cometimento e986f5c820
113 ficheiros modificados com 6422 adições e 20145 eliminações
+1 -1
Ver ficheiro
@@ -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;
}