This is an archive of the discontinued LLVM Phabricator instance.

Warn about archives with no symbol table
AbandonedPublic

Authored by espindola on May 4 2017, 8:29 AM.

Details

Summary

Not having a symbol table is an indication of something missing in a build setup. We can handle it, but it is probably a good idea to inform the user.

This patch only warns once and only if a member is actually used in the build. This should avoid any false warnings with dead or empty archives.

Diff Detail

Event Timeline

rafael created this revision.May 4 2017, 8:29 AM
ruiu edited edge metadata.May 4 2017, 1:32 PM

It seems it is only me who wants it to be silent, but if we can make it virtually zero-overhead, do you still want to warn on it?

Currently reading public symbols for LazyObject is serialized, but it should be easy to parallelize, so there's a large room for improvement.

espindola commandeered this revision.Mar 6 2018, 5:29 PM
espindola added a reviewer: rafael.
espindola abandoned this revision.Mar 6 2018, 5:29 PM