<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 29, 2015 at 3:13 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</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 29 June 2015 at 18:09, David Kreitzer <<a href="mailto:david.l.kreitzer@intel.com">david.l.kreitzer@intel.com</a>> wrote:<br>
> Fixed the style issue pointed out by David and a few others with braces, indentation, and an empty comment line. (Old habits die hard.)<br>
><br>
> Rafael, I'm happy to change the 2 new tests to use llvm-objdump instead of llvm-readobj if you think that is preferred. I just want to point out that llvm-readobj is used more predominantly in test/MC/ELF:<br>
><br>
> bash-4.3$ grep llvm-readobj *.s | wc -l<br>
> 120<br>
> bash-4.3$ grep llvm-objdump *.s | wc -l<br>
> 7<br>
><br>
<br>
</span>llvm-readobj is perfect for testing the structure of the file<br>
(section, symbols, relocations).<br>
<br>
In this particular case llvm-objdump has the big advantage that it can<br>
disassemble and prints one instruction per line.<br></blockquote><div><br></div><div>The downside is that it requires X86 target, which I'm not sure if test/MC/ELF already has an appropriate lit requirement for.</div><div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
Rafael<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div>