diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-07-30 06:39:52 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-07-30 06:39:52 +0000 |
commit | 07d662ac50b560b0a92d53eae23ea5cee64b8423 (patch) | |
tree | 3db5b5fa07a6d6259923f2ffd499f3a09e4d5fce /lib/CodeGen/CodeGenModule.cpp | |
parent | f29d44a306f1ad20d1b2bf82ccbd6b7848786909 (diff) |
CodeGenModule.cpp: [PR33810][Modules] Remove an assertion that confirms MangledDeclNames[CanonicalGD] might be still empty.
FIXME: It is accepted that MangledDeclNames[CanonicalGD] is overwritten here?
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@309504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 310b19c209..5ba95c99a7 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -745,8 +745,6 @@ StringRef CodeGenModule::getMangledName(GlobalDecl GD) { // Keep the first result in the case of a mangling collision. auto Result = Manglings.insert(std::make_pair(Str, GD)); - assert(MangledDeclNames.find(CanonicalGD) == MangledDeclNames.end() && - "CanonicalGD is already mangled."); return MangledDeclNames[CanonicalGD] = Result.first->first(); } |