SWDEV-404889 - Debugger support, trap handler

Add trap handler code into runtime and compile/load during
device initialization. The current interface for trap handler in
PAL is obsolete and the new interface will be provided later.

Change-Id: I1fa702c5d1f2e6731f781369c980d546cf422328
Αυτή η υποβολή περιλαμβάνεται σε:
German
2023-09-11 15:22:51 -04:00
υποβλήθηκε από German Andryeyev
γονέας 5e51335ef6
υποβολή e1d34cb24f
7 αρχεία άλλαξαν με 329 προσθήκες και 36 διαγραφές
@@ -466,8 +466,8 @@ class Program : public amd::HeapObject {
//! Compile and create the excutable of the input dataset
bool compileAndLinkExecutable(const amd_comgr_data_set_t inputs,
const std::vector<std::string>& options, amd::option::Options* amdOptions,
char* executable[], size_t* executableSize);
const std::vector<std::string>& options, amd::option::Options* amdOptions, char* executable[],
size_t* executableSize, file_type_t continueCompileFrom);
//! Create the map for the kernel name and its metadata for fast access
bool createKernelMetadataMap(void* binary, size_t binSize);