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 1983acc commit 2d1f471Copy full SHA for 2d1f471
lld/MachO/SymbolTable.cpp
@@ -134,7 +134,7 @@ Symbol *SymbolTable::addDSOHandle(const MachHeaderSection *header) {
134
// FIXME: Make every symbol (including absolute symbols) contain a
135
// reference to their originating file, then add that file name to this
136
// error message.
137
- if (auto *defined = dyn_cast<Defined>(s))
+ if (isa<Defined>(s))
138
error("found defined symbol with illegal name " + DSOHandle::name);
139
}
140
replaceSymbol<DSOHandle>(s, header);
0 commit comments