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

Change-Id: I31d63bd2500155697129c29d7e0bc857e48cad8e


[ROCm/rocprofiler commit: 490ea4c37d]
This commit is contained in:
Giovanni LB committed 2023-12-18 08:53:51 -03:00
1 parent 51057d115b
commit 0f5bec223e
7 files changed
+101 -60

No files matched your search

@@ -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;