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


[ROCm/clr commit: e1d34cb24f]
此提交包含在:
German
2023-09-11 15:22:51 -04:00
提交者 German Andryeyev
父節點 7d69dd7598
當前提交 c3d48d80fa
共有 7 個檔案被更改,包括 329 行新增 和 36 行删除
+2 -2
查看文件
@@ -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);