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

Greg Clayton via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 11:32:39 PST 2024


================
@@ -329,6 +329,15 @@ class GsymCreator {
   /// \returns The unique 32 bit offset into the string table.
   uint32_t insertString(StringRef S, bool Copy = true);
 
+  /// Retrieve a string fromt he GSYM string table given its offset.
+  ///
+  /// The offset is assumed to be a valid offset into the string table.
+  /// otherwise an assert will be triggered.
+  ///
+  /// \param offset The offset of the string to retrieve, previously returned by
+  /// insertString. \returns The string at the given offset in the string table.
----------------
clayborg wrote:

move `\returns` to next line

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


More information about the llvm-commits mailing list