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.
1 parent 6a5a795 commit 24892b8Copy full SHA for 24892b8
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