Replace private libelf with elfio

Change-Id: I4c630d78f7bf23dda85ec8480bb2790864405657
Этот коммит содержится в:
Tao Sang
2020-07-29 09:41:02 -04:00
коммит произвёл Tao Sang
родитель 70139d6e34
Коммит e986f5c820
113 изменённых файлов: 6422 добавлений и 20145 удалений
+2 -2
Просмотреть файл
@@ -103,7 +103,7 @@ class Program : public amd::HeapObject {
ClBinary* clBinary_; //!< The CL program binary file
std::string llvmBinary_; //!< LLVM IR binary code
amd::OclElf::oclElfSections elfSectionType_; //!< LLVM IR binary code is in SPIR format
amd::Elf::ElfSections elfSectionType_; //!< LLVM IR binary code is in SPIR format
std::string compileOptions_; //!< compile/build options.
std::string linkOptions_; //!< link options.
//!< the option arg passed in to clCompileProgram(), clLinkProgram(),
@@ -324,7 +324,7 @@ class Program : public amd::HeapObject {
//! Finds the total size of all global variables in the program
bool FindGlobalVarSize(void* binary, size_t binSize);
bool isElf(const char* bin) const { return amd::isElfMagic(bin); }
bool isElf(const char* bin) const { return amd::Elf::isElfMagic(bin); }
virtual bool defineGlobalVar(const char* name, void* dptr) {
ShouldNotReachHere();