https://llvm.org/bugs/show_bug.cgi?id=26432

            Bug ID: 26432
           Summary: Archive name is not printed in diagnostic.
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Currently, when LLD issues a "duplicate symbol" error, where one symbol is in
an archive, the name of the archive isn't printed. For example, the diagnostic
will be something like:

duplicate symbol: foo in foo.o and some/long/path/to/other.o

For clarity, it should be something like:

duplicate symbol: foo in some/long/path/to/unexpected.a(foo.o) and
some/long/path/to/other.o

It is hard to communicate in a reduced test case, but in practice the path to
the .a file is sometimes not obvious. Especially when there are two archives,
you can end up with e.g. "duplicate symbol: foo in foo.o and foo.o", which is
not very helpful.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to