[Lldb-commits] [PATCH] D104488: Create synthetic symbol names on demand to improve memory consumption and startup times.

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 21 22:29:30 PDT 2021


clayborg marked 3 inline comments as done.
clayborg added inline comments.


================
Comment at: lldb/source/Symbol/Symbol.cpp:573-582
+    // Synthetic symbol names don't mean anything, but they do uniquely
+    // identify individual symbols so we give them a unique name. The name
+    // starts with the synthetic symbol prefix and are followed by a unique
+    // number. Typically the UserID is a real symbol is the symbol table
+    // index of the symbol in the object file's symbol table(s). Synthetic
+    // UserID values tend to be numbers that are higher than the last symbol
+    // index in the symbol table. The synthetic name for the same synthetic
----------------
This is the comment Jim Ingham asked for.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104488/new/

https://reviews.llvm.org/D104488



More information about the lldb-commits mailing list