Process symbols with 0 address

Change-Id: I9ed943a8ccd3b103edd6aba8264c009d8cda29fa


[ROCm/ROCR-Runtime commit: 7001134757]
Este cometimento está contido em:
Konstantin Zhuravlyov criou e Konstantin Zhuravlyov cometeu 2019-03-30 02:14:43 -04:00
1 ascendente 59e91f0be8
cometimento dde11e307d
1 ficheiro modificado
-2
@@ -1301,8 +1301,6 @@ hsa_status_t ExecutableImpl::LoadDefinitionSymbol(hsa_agent_t agent,
}
uint64_t address = SymbolAddress(agent, sym);
if (!address) { return HSA_STATUS_ERROR_INVALID_CODE_OBJECT; }
SymbolImpl *symbol = nullptr;
if (string_ends_with(sym->GetSymbolName(), ".kd")) {
// V3.