SWDEV-404889 - Don't report trap handler

Trap handler shouldn't be reported for debugger and RGP

Change-Id: I149dacfed49584503c1874120d5f552fdec323a7
This commit is contained in:
German Andryeyev
2024-02-21 18:24:38 -05:00
rodzic b954d0d6e0
commit 8f9a20738e
2 zmienionych plików z 13 dodań i 3 usunięć
+4
Wyświetl plik
@@ -131,6 +131,7 @@ class Program : public amd::HeapObject {
uint32_t hasGlobalStores_ : 1; //!< Program has writable program scope variables
uint32_t isHIP_ : 1; //!< Determine if the program is for HIP
uint32_t coLoaded_ : 1; //!< Has the code objected been loaded
uint32_t trapHandler_ : 1; //!< It is a trap handler for debugger
};
uint32_t flags_; //!< Program flags
};
@@ -263,6 +264,9 @@ class Program : public amd::HeapObject {
//! Return TRUE if the program has been loaded
bool isCodeObjectLoaded() const { return coLoaded_; }
//! Returns TRUE if the program is a trap handler for debugger support
bool isTrapHandler() const { return trapHandler_; }
#if defined(USE_COMGR_LIBRARY)
amd_comgr_metadata_node_t metadata() const { return metadata_; }