SWDEV-216213 - Function to lookup module functions from COMGR.
Change-Id: I3890fb188b5b3ae44d2bb161d1b7e75228e30942
这个提交包含在:
1 父节点
7afd54f844
当前提交
d961c64b00
2 个文件已更改
+10
没有与搜索条件相匹配的文件
普通文件 -> 可执行文件
+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);
|
||||
|
||||
普通文件 -> 可执行文件
+1
@@ -247,6 +247,7 @@ class Program : public amd::HeapObject {
|
||||
//! Get mangled name of a name expresion
|
||||
const bool getLoweredNames(std::vector<std::string>* mangledNames) const;
|
||||
|
||||
bool getGlobalFuncFromCodeObj(std::vector<std::string>* func_names) const;
|
||||
bool getGlobalVarFromCodeObj(std::vector<std::string>* var_names) const;
|
||||
bool getUndefinedVarFromCodeObj(std::vector<std::string>* var_names) const;
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户