<div dir="ltr">It is cheap to do, I'm not opposed to adding that flag, and just wondering how the flag is consumed.<div><br></div><div>If the runtime doesn't recognize the flag, it is nice to improve it to print out a user-friendly error message so that you don't need to use readelf to figure out what is going on when something goes wrong.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 10, 2017 at 1:46 PM, Joerg Sonnenberger via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, May 10, 2017 at 01:32:29PM -0700, Rui Ueyama via llvm-commits wrote:<br>
> Do they actually use this as a diagnostic hint to print out a user-friendly<br>
> error message?<br>
<br>
</span>No, but it makes it much easier to tell with readelf or so that it is<br>
necessary. Otherwise you have to look for the relocation list and that's<br>
platform specific. If it is cheap to do, create the flag. If it requires<br>
a scan of the relocation list, it might not be worth it.<br>
<br>
Joerg<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>