[clang] [clang][Tooling] Reuse standard-library symbol descriptors (PR #202663)

Alexis Engelke via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 9 10:56:58 PDT 2026


================
@@ -24,6 +24,12 @@ namespace {
 // Symbol name -> Symbol::ID, within a namespace.
 using NSSymbolMap = llvm::DenseMap<llvm::StringRef, unsigned>;
 
+struct SymbolMapping {
+  const char *QName;
+  unsigned NSLen;
+  const char *HeaderName;
+};
----------------
aengelke wrote:

Can we avoid these dynamic relocations? Depending on the size, it might be a good idea to wait until #202631 is merged and use that?

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


More information about the cfe-commits mailing list