<p dir="ltr">Thanks! </p>
<div class="gmail_quote">On Jul 28, 2015 6:00 PM, "Davide Italiano" <<a href="mailto:davide@freebsd.org">davide@freebsd.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: davide<br>
Date: Tue Jul 28 16:58:08 2015<br>
New Revision: 243487<br>
<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D243487-26view-3Drev&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=jTVyNzPqk6eLFk6Lq-6PX5-A_amMaRP6iWhuuZ6pVQs&s=86fQsylr3n0j8tKVqCjxUBqNbcBtTr345KpC3mD4X_I&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=243487&view=rev</a><br>
Log:<br>
[tests] Use llvm-readobj instead of macho-dump.<br>
<br>
Modified:<br>
llvm/trunk/test/MC/AArch64/arm64-small-data-fixups.s<br>
<br>
Modified: llvm/trunk/test/MC/AArch64/arm64-small-data-fixups.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_AArch64_arm64-2Dsmall-2Ddata-2Dfixups.s-3Frev-3D243487-26r1-3D243486-26r2-3D243487-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=jTVyNzPqk6eLFk6Lq-6PX5-A_amMaRP6iWhuuZ6pVQs&s=eilADh6GQu_CLCYKFfRZR8_8sWQplyA7mGULzRB2jgk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AArch64/arm64-small-data-fixups.s?rev=243487&r1=243486&r2=243487&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/AArch64/arm64-small-data-fixups.s (original)<br>
+++ llvm/trunk/test/MC/AArch64/arm64-small-data-fixups.s Tue Jul 28 16:58:08 2015<br>
@@ -1,4 +1,4 @@<br>
-; RUN: llvm-mc -triple arm64-apple-darwin -filetype=obj -o - %s | macho-dump | FileCheck %s<br>
+; RUN: llvm-mc -triple arm64-apple-darwin -filetype=obj -o - %s | llvm-readobj -r | FileCheck %s<br>
<br>
foo:<br>
.long 0<br>
@@ -9,16 +9,15 @@ baz:<br>
.byte foo - bar<br>
.short foo - bar<br>
<br>
-; CHECK: # Relocation 0<br>
-; CHECK: (('word-0', 0x9),<br>
-; CHECK: ('word-1', 0x1a000002)),<br>
-; CHECK: # Relocation 1<br>
-; CHECK: (('word-0', 0x9),<br>
-; CHECK: ('word-1', 0xa000001)),<br>
-; CHECK: # Relocation 2<br>
-; CHECK: (('word-0', 0x8),<br>
-; CHECK: ('word-1', 0x18000002)),<br>
-; CHECK: # Relocation 3<br>
-; CHECK: (('word-0', 0x8),<br>
-; CHECK: ('word-1', 0x8000001)),<br>
-<br>
+; CHECK: File: <stdin><br>
+; CHECK: Format: Mach-O arm64<br>
+; CHECK: Arch: aarch64<br>
+; CHECK: AddressSize: 64bit<br>
+; CHECK: Relocations [<br>
+; CHECK: Section __text {<br>
+; CHECK: 0x9 0 1 1 ARM64_RELOC_SUBTRACTOR 0 bar<br>
+; CHECK: 0x9 0 1 1 ARM64_RELOC_UNSIGNED 0 foo<br>
+; CHECK: 0x8 0 0 1 ARM64_RELOC_SUBTRACTOR 0 bar<br>
+; CHECK: 0x8 0 0 1 ARM64_RELOC_UNSIGNED 0 foo<br>
+; CHECK: }<br>
+; CHECK: ]<br>
<br>
<br>
_______________________________________________<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>
</blockquote></div>