We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e7a983 + 24892b8 commit ddfa8d7Copy full SHA for ddfa8d7
llvm/lib/MC/ELFObjectWriter.cpp
@@ -1219,7 +1219,8 @@ void ELFObjectWriter::executePostLayoutBinding(MCAssembler &Asm) {
1219
continue;
1220
}
1221
1222
- if (Renames.count(&Symbol) && Renames[&Symbol] != Alias) {
+ if (auto It = Renames.find(&Symbol);
1223
+ It != Renames.end() && It->second != Alias) {
1224
Asm.getContext().reportError(S.Loc, Twine("multiple versions for ") +
1225
Symbol.getName());
1226
0 commit comments