SWDEV-216213 - Function to lookup module functions from COMGR.

Change-Id: I3890fb188b5b3ae44d2bb161d1b7e75228e30942


[ROCm/clr commit: d961c64b00]
Αυτή η υποβολή περιλαμβάνεται σε:
kjayapra-amd
2020-03-18 12:44:24 -04:00
γονέας 66ca4de8c4
υποβολή 68fc604f5d
2 αρχεία άλλαξαν με 10 προσθήκες και 0 διαγραφές
Κανονικό αρχείο → Εκτελέσιμο αρχείο
+9
Προβολή Αρχείου
@@ -2633,6 +2633,15 @@ const bool Program::getLoweredNames(std::vector<std::string>* mangledNames) cons
return false;
#endif
}
bool Program::getGlobalFuncFromCodeObj(std::vector<std::string>* func_names) const {
#if defined(USE_COMGR_LIBRARY)
return getSymbolsFromCodeObj(func_names, AMD_COMGR_SYMBOL_TYPE_FUNC);
#else
return true;
#endif
}
bool Program::getGlobalVarFromCodeObj(std::vector<std::string>* var_names) const {
#if defined(USE_COMGR_LIBRARY)
return getSymbolsFromCodeObj(var_names, AMD_COMGR_SYMBOL_TYPE_OBJECT);