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 d9ca58e commit 35515ffCopy full SHA for 35515ff
lld/COFF/Driver.cpp
@@ -405,8 +405,12 @@ void LinkerDriver::enqueueArchiveMember(const Archive::Child &c,
405
StringRef parentName) {
406
407
auto reportBufferError = [=](Error &&e) {
408
+ StringRef childName =
409
+ CHECK(c.getName(),
410
+ "could not get child name for archive " + parentName +
411
+ " while loading symbol " + toCOFFString(ctx, sym));
412
Fatal(ctx) << "could not get the buffer for the member defining symbol "
- << &sym << ": " << parentName << "(" << check(c.getName())
413
+ << &sym << ": " << parentName << "(" << childName
414
<< "): " << std::move(e);
415
};
416
0 commit comments