<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Jun 28, 2017 at 10:47 AM Reid Kleckner via Phabricator <<a href="mailto:reviews@reviews.llvm.org">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-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><div>For myself, that doesn't motivate this feature compared to the test/DebugInfo/llvm-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 class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<a href="https://reviews.llvm.org/D34764" rel="noreferrer" target="_blank">https://reviews.llvm.org/D34764</a><br>
<br>
<br>
<br>
</blockquote></div></div>