Index: test/CodeGen/ARM/2010-10-08-mc-asm-header-obj-test.ll |
=================================================================== |
--- test/CodeGen/ARM/2010-10-08-mc-asm-header-obj-test.ll (revision 0) |
+++ test/CodeGen/ARM/2010-10-08-mc-asm-header-obj-test.ll (revision 0) |
@@ -0,0 +1,19 @@ |
+; RUN: llc < %s -mtriple=arm-linux-gnueabi -filetype=obj | \ |
+; RUN: elf-dump --dump-section-data | FileCheck %s |
+; This tests that MC/asm header conversion is smooth |
+; |
+; CHECK: .ARM.attributes |
+; CHECK-NEXT: 0x70000003 |
+; CHECK-NEXT: 0x0 |
+; CHECK-NEXT: 0x0 |
+; CHECK-NEXT: 0x3c |
+; CHECK-NEXT: 0x22 |
+; CHECK-NEXT: 0x0 |
+; CHECK-NEXT: 0x0 |
+; CHECK-NEXT: 0x1 |
+; CHECK-NEXT: 0x0 |
+; CHECK-NEXT: 41210000 00616561 62690001 17000000 06020801 09011401 15011703 18011901 2c01 |
+ |
+define i32 @f(i64 %z) { |
+ ret i32 0 |
+} |