diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Constant.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h index e2b77a7e21..13b4cb3fb8 100644 --- a/include/llvm/Constant.h +++ b/include/llvm/Constant.h @@ -90,6 +90,11 @@ public: /// constant subsystem, which can be used in environments where this memory /// is otherwise reported as a leak. static void clearAllValueMaps(); + + /// getStringValue - Turn an LLVM constant pointer that eventually points to a + /// global into a string value. Return an empty string if we can't do it. + /// + std::string getStringValue(unsigned Offset = 0); }; } // End llvm namespace |