SWDEV-277566 - Separate code object loading from building

Change-Id: I87b8178f55e8ef23762dfe11fab71665ba680f00
Tá an tiomantas seo le fáil i:
Jason Tang údaraithe agus Jason Tang tiomanta 2021-05-13 08:41:35 -04:00
1 tuismitheoir 509f528980
tiomantas 211ba25b4e
13 comhad athraithe
+283 -168

Níor tháinig aon chomhaid le do chuardach

+3 -4
Féach ar an gComhad
@@ -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