SWDEV-432445: ATT - Adding fixes for symbolic stitch and source reference numbering

Change-Id: I31d63bd2500155697129c29d7e0bc857e48cad8e


[ROCm/rocprofiler commit: 490ea4c37d]
이 커밋은 다음에 포함됨:
Giovanni LB가 2023-12-18 08:53:51 -03:00를 커밋했습니다
1 부모 51057d115b
커밋 0f5bec223e
7 파일이 변경됨
+101 -60

검색과 일치하는 파일 없음

+10 -1
파일 보기
@@ -32,6 +32,15 @@
#include "disassembly.hpp"
#include "segment.hpp"
struct DSourceLine
{
uint64_t vaddr;
uint64_t size;
std::string str;
uint64_t begin() const { return vaddr; }
bool inrange(uint64_t addr) const { return addr >= vaddr && addr < vaddr+size; }
};
class CodeObjDecoderComponent
{
public:
@@ -48,7 +57,7 @@ public:
int m_fd;
std::map<uint64_t, std::shared_ptr<std::string>> m_line_number_map{};
cached_ordered_vector<DSourceLine> m_line_number_map;
std::map<uint64_t, SymbolInfo> m_symbol_map{};
std::string m_uri;