SWDEV-404889 - Don't report trap handler
Trap handler shouldn't be reported for debugger and RGP
Change-Id: I149dacfed49584503c1874120d5f552fdec323a7
[ROCm/clr commit: 8f9a20738e]
This commit is contained in:
@@ -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_; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user