[llvm-dev] Reducing confusion around isUndefined()

Rafael Avila de Espindola via llvm-dev llvm-dev at lists.llvm.org
Fri Oct 13 23:03:16 PDT 2017


Shoaib Meenai <smeenai at fb.com> writes:

> (switching list from llvm-commits to llvm-dev, which seems more appropriate here)
Thanks.

> I think I'm not too excited about adding more predicates or inheritance. Lazy symbols are useful only when we are adding files to the symbol table. After that, there's no use of them. So maybe we can just visit all symbols at some point after reading all files but before writeResult to nuke all Lazy symbols (by replacing local undefined symbol or something), so that we don't have to think about it after that point.

True. We should be able to either remove or convert to undef every lazy
symbol after we read all the files.

Cheers,
Rafael


More information about the llvm-dev mailing list