summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-31 23:13:12 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-31 23:13:12 +0000
commit35ee93b7919a97b3cd8ba3cd41e5fb46bfdcc6ea (patch)
treea1344fb7d531db93b65b9ca71c25183dc7747ba1 /test/MC
parentad4555c549ed41aefb306cf9bd0c2e9f60cb3047 (diff)
downloadllvm-35ee93b7919a97b3cd8ba3cd41e5fb46bfdcc6ea.tar.gz
llvm-35ee93b7919a97b3cd8ba3cd41e5fb46bfdcc6ea.tar.bz2
llvm-35ee93b7919a97b3cd8ba3cd41e5fb46bfdcc6ea.tar.xz
llvm-mc: Add -triple, and fix some typos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/hello.s2
-rw-r--r--test/MC/AsmParser/labels.s4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/MC/AsmParser/hello.s b/test/MC/AsmParser/hello.s
index 34b547efb7..ace86174b6 100644
--- a/test/MC/AsmParser/hello.s
+++ b/test/MC/AsmParser/hello.s
@@ -1,4 +1,4 @@
-// RUN: llvm-mc %s -o -
+// RUN: llvm-mc -triple i386-unknown-unknown %s -o -
.text
.align 4,0x90
diff --git a/test/MC/AsmParser/labels.s b/test/MC/AsmParser/labels.s
index 1cdff8991d..e113c86916 100644
--- a/test/MC/AsmParser/labels.s
+++ b/test/MC/AsmParser/labels.s
@@ -1,6 +1,6 @@
// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
- .data:
+ .data
// CHECK: a:
a:
.long 0
@@ -11,7 +11,7 @@ a:
"a$b":
.long 0
- .text:
+ .text
foo:
// CHECK: val:"a$b"
addl $24, "a$b"(%eax)