[llvm] [GSYM] Callsites: Add data format support and loading from YAML (PR #109781)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 16:23:55 PDT 2024


================
@@ -385,6 +385,12 @@ uint32_t GsymCreator::insertString(StringRef S, bool Copy) {
   return StrOff;
 }
 
+StringRef GsymCreator::getString(uint32_t offset) {
----------------
alx32 wrote:

This would mean that the GSYM is corrupt - do you mean we should return optional and emit an error ? 

https://github.com/llvm/llvm-project/pull/109781


More information about the llvm-commits mailing list