[Lldb-commits] [clang] [lldb] Serialize `#pragma redefine_extname` into precompiled headers. (PR #186755)

Will Hawkins via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 24 01:47:19 PDT 2026


================
@@ -9691,6 +9709,27 @@ void ASTReader::ReadWeakUndeclaredIdentifiers(
   WeakUndeclaredIdentifiers.clear();
 }
 
+void ASTReader::ReadExtnameUndeclaredIdentifiers(
+    SmallVectorImpl<std::pair<IdentifierInfo *, AsmLabelAttr *>> &ExtnameIDs) {
+  if (ExtnameUndeclaredIdentifiers.empty())
+    return;
+
+  for (unsigned I = 0, N = ExtnameUndeclaredIdentifiers.size(); I < N; I += 3) {
----------------
hawkinsw wrote:

That reasoning makes perfect sense!! 

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


More information about the lldb-commits mailing list