Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: test/CodeGen/ARM/2010-10-08-mc-asm-header-obj-test.ll

Issue 3770019: updated .ARM.attributes work (Closed) Base URL: https://llvm.org/svn/llvm-project/llvm/trunk/
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Target/ARM/ARMBuildAttrs.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+}
« no previous file with comments | « lib/Target/ARM/ARMBuildAttrs.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698