<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jun 28, 2017 at 10:57 AM, David Blaikie 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"><div dir="ltr"><div class="gmail_quote"><span class=""><div dir="ltr">On Wed, Jun 28, 2017 at 10:47 AM Reid Kleckner via Phabricator <<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">rnk added a comment.<br>
<br>
The tests in llvm/test/tools/llvm-<wbr>symbolizer are a good place to use this. See the ADDR: sed+grep pattern I used to extract some hex numbers from the file.<br></blockquote><div><br></div></span><div>For myself, that doesn't motivate this feature compared to the test/DebugInfo/llvm-<wbr>symbolizer.test file that contains a bunch of echo lines. It's nice, for sure, but doesn't do a lot for me (& if removing the syntactic overhead of "RUN: echo 0xXXXX >> %t.input" (to "ADDR: 0xXXXX") was important, it could be put in a separate file - not like the addresses add a lot of meaningful context to the test file. They're pretty much arbitrary/magic numbers (necessarily, not intended as a criticism by any means).</div></div></div></blockquote><div><br></div><div>Please, please, please, do not use repeated echo and >>. It's why the LLD test suite takes 30s to run on Windows and 3s to run on Linux. Rewriting the ELF linker script tests to use FileEdit (FileSplit?) would go a long way towards speeding them up.</div></div></div></div>