Skip to content

Commit 5cafd8a

Browse files
committed
add FIXMEs
1 parent c3bc43c commit 5cafd8a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lld/COFF/InputFiles.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ void ArchiveFile::addMember(const Archive::Symbol &sym) {
151151
toCOFFString(symtab.ctx, sym));
152152

153153
// Return an empty buffer if we have already returned the same buffer.
154+
// FIXME: Remove this once we resolve all defineds before all undefineds in
155+
// ObjFile::initializeSymbols().
154156
if (!seen.insert(c.getChildOffset()).second)
155157
return;
156158

lld/COFF/SymbolTable.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ static void forceLazy(Symbol *s) {
5656
}
5757
case Symbol::Kind::LazyObjectKind: {
5858
InputFile *file = cast<LazyObject>(s)->file;
59+
// FIXME: Remove this once we resolve all defineds before all undefineds in
60+
// ObjFile::initializeSymbols().
5961
if (!file->lazy)
6062
return;
6163
file->lazy = false;

0 commit comments

Comments
 (0)