SWDEV-277566 - Separate code object loading from building

Change-Id: I87b8178f55e8ef23762dfe11fab71665ba680f00
This commit is contained in:
Jason Tang authored and Jason Tang committed 2021-05-13 08:41:35 -04:00
1 bovenliggende 509f528980
commit 211ba25b4e
13 files changed
+283 -168

No files matched your search

+3 -4
Bestand weergeven
@@ -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