<div dir="ltr">No it's not. We could have handled a linker script using the Registry, but it wouldn't fit well because the Registry is a mechanism to convert a file to a File object. We could have generalized the Registry to cover the linker script, but this is exactly what we are trying to eliminate right now (an excessive abstraction).<div><br></div><div>Another (obvious) counter example is response file. This should naturally be handled by the Driver. What this example means is that being an external file doesn't always mean that the file should be handled through the Registry mechanism.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 14, 2014 at 11:06 PM, Shankar Easwaran <span dir="ltr"><<a href="mailto:shankar.kalpathi.easwaran@gmail.com" target="_blank">shankar.kalpathi.easwaran@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It's best for the linker script to be handled through the registry.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D6648" target="_blank">http://reviews.llvm.org/D6648</a><br>
<br>
EMAIL PREFERENCES<br>
<a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>
<br>
</blockquote></div></div>