aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/directive_lsym.s
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2009-07-14 21:35:03 +0000
committerKevin Enderby <enderby@apple.com>2009-07-14 21:35:03 +0000
commitd7895a1125698a7ba0fe19b2461a95d821b63ae5 (patch)
treedde0a4d27bc9fbd9f5c3b641b02e1939de61d024 /test/MC/AsmParser/directive_lsym.s
parent9fe1423dc142764dc56cf65f38317e0fcd0a7fc2 (diff)
downloadexternal_llvm-d7895a1125698a7ba0fe19b2461a95d821b63ae5.zip
external_llvm-d7895a1125698a7ba0fe19b2461a95d821b63ae5.tar.gz
external_llvm-d7895a1125698a7ba0fe19b2461a95d821b63ae5.tar.bz2
Added llvm-mc support for parsing the .lsym directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser/directive_lsym.s')
-rw-r--r--test/MC/AsmParser/directive_lsym.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/AsmParser/directive_lsym.s b/test/MC/AsmParser/directive_lsym.s
new file mode 100644
index 0000000..a4437b9
--- /dev/null
+++ b/test/MC/AsmParser/directive_lsym.s
@@ -0,0 +1,8 @@
+# RUN: llvm-mc %s | FileCheck %s
+
+# CHECK: TEST0:
+# CHECK: .lsym bar,foo
+# CHECK: .lsym baz,3
+TEST0:
+ .lsym bar, foo
+ .lsym baz, 2+1