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
This commit is contained in:
German authored and German Andryeyev committed 2023-09-19 16:05:02 -04:00
1 bovenliggende 5e51335ef6
commit e1d34cb24f
7 files changed
+329 -36

No files matched your search

+2 -2
Bestand weergeven
@@ -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);