File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ void elf::printTraceSymbol(const Symbol &sym, StringRef name) {
295
295
else
296
296
s = " : definition of " ;
297
297
298
- Msg (ctx) << toStr ( sym.file ->ctx , sym.file ) << s << name;
298
+ Msg (sym.file ->ctx ) << sym.file << s << name;
299
299
}
300
300
301
301
static void recordWhyExtract (Ctx &ctx, const InputFile *reference,
@@ -320,9 +320,7 @@ void elf::maybeWarnUnorderableSymbol(Ctx &ctx, const Symbol *sym) {
320
320
const InputFile *file = sym->file ;
321
321
auto *d = dyn_cast<Defined>(sym);
322
322
323
- auto report = [&](StringRef s) {
324
- Warn (ctx) << toStr (ctx, file) << s << sym->getName ();
325
- };
323
+ auto report = [&](StringRef s) { Warn (ctx) << file << s << sym->getName (); };
326
324
327
325
if (sym->isUndefined ()) {
328
326
if (cast<Undefined>(sym)->discardedSecIdx )
You can’t perform that action at this time.
0 commit comments