SWDEV-277566 - Separate code object loading from building

Change-Id: I87b8178f55e8ef23762dfe11fab71665ba680f00
Este cometimento está contido em:
Jason Tang criou e Jason Tang cometeu 2021-05-13 08:41:35 -04:00
1 ascendente 509f528980
cometimento 211ba25b4e
13 ficheiros modificados
+283 -168

Não existem ficheiros que correspondam à sua pesquisa

+3 -4
Ver ficheiro
@@ -45,11 +45,10 @@ Kernel::Kernel(std::string name, Program* prog)
#if defined(USE_COMGR_LIBRARY)
bool LightningKernel::init() {
if (!GetAttrCodePropMetadata()) {
LogError("[ROC][Kernel] Could not get Code Prop Meta Data \n");
return false;
}
return GetAttrCodePropMetadata();
}
bool LightningKernel::postLoad() {
// Set the kernel symbol name and size/alignment based on the kernel metadata
// NOTE: kernel name is used to get the kernel code handle in V2,
// but kernel symbol name is used in V3