[PATCH] D45375: [ELF] - Introduce synthetic file for linker script symbols.

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 11 17:53:04 PDT 2018


espindola added a comment.

In https://reviews.llvm.org/D45375#1065056, @ruiu wrote:

> > The reality is that we already have Synthetic files, we just have a very special representation for them: a null pointer.
>
> I see what you are saying. But it's not really that uncomfortable to me. It is matter of degree, but if we add a new type of a file, I'd like to see a larger benefit.


Would never having a null InputFile be sufficient?


https://reviews.llvm.org/D45375





More information about the llvm-commits mailing list