llvm.org GIT mirror llvm / b6b924e
[MS Demangler] Anonymous namespace hashes can be backreferenced. Previously we were not remembering the key values of anonymous namespaces, but we need to do this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340238 91177308-0d34-0410-b5e6-96231b3b80d8 Zachary Turner 1 year, 1 month ago
2 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
21692169 Error = true;
21702170 return nullptr;
21712171 }
2172 StringView NamespaceKey = MangledName.substr(0, EndPos);
2173 memorizeString(NamespaceKey);
21722174 MangledName = MangledName.substr(EndPos + 1);
21732175 return Node;
21742176 }
165165
166166 ??$fun_tmpl_recurse@H$1?ident@fn_space@@YA?AURetVal@2@H@Z@fn_space@@YA?AURetVal@0@H@Z
167167 ; CHECK: struct fn_space::RetVal __cdecl fn_space::fun_tmpl_recurse(int)
168
169 ?AddEmitPasses@EmitAssemblyHelper@?A0x43583946@@AEAA_NAEAVPassManager@legacy@llvm@@W4BackendAction@clang@@AEAVraw_pwrite_stream@5@PEAV85@@Z
170 ; CHECK: bool __cdecl `anonymous namespace'::EmitAssemblyHelper::AddEmitPasses(class llvm::legacy::PassManager &, enum clang::BackendAction, class llvm::raw_pwrite_stream &, class llvm::raw_pwrite_stream *)