summaryrefslogtreecommitdiff
path: root/cuobjdump_to_ptxplus/cuobjdumpInstList.h
diff options
context:
space:
mode:
Diffstat (limited to 'cuobjdump_to_ptxplus/cuobjdumpInstList.h')
-rw-r--r--cuobjdump_to_ptxplus/cuobjdumpInstList.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cuobjdump_to_ptxplus/cuobjdumpInstList.h b/cuobjdump_to_ptxplus/cuobjdumpInstList.h
index d07e72d..da8f8b0 100644
--- a/cuobjdump_to_ptxplus/cuobjdumpInstList.h
+++ b/cuobjdump_to_ptxplus/cuobjdumpInstList.h
@@ -116,6 +116,7 @@ protected:
std::list<localMemory> m_localMemoryList;
std::list<std::string> m_realTexList; // Stores the real names of tex variables
std::list<constMemoryPtr> m_constMemoryPtrList;
+ int m_globalVarShndx; //records shndx value of global variables in the elf file SYMTAB
// Functions:
std::string parseCuobjdumpPredicate(std::string pred);
@@ -158,6 +159,10 @@ public:
void addConstMemoryPtr(const char* bytes, const char* offset, const char* name);
void setConstMemoryMap(const char* kernelname, int index);
void setLocalMemoryMap(const char* kernelname, int index);
+ void setglobalVarShndx(const char* shndx);
+ int getglobalVarShndx();
+ void addGlobalMemoryID(const char* bytes, const char* name);
+ void updateGlobalMemoryID(const char* offset, const char* name);
void reverseConstMemory();
void addEntryLocalMemory(int value, int entryIndex);
void readOtherConstMemoryFromBinFile(std::string binString); // read in constant memory from bin file