diff options
| author | Colin LeMahieu <colinl@codeaurora.org> | 2015-06-07 01:46:24 +0000 |
|---|---|---|
| committer | Colin LeMahieu <colinl@codeaurora.org> | 2015-06-07 01:46:24 +0000 |
| commit | 229a1e69fcd1ee1b52fb811a942bdfb86bc6f5d8 (patch) | |
| tree | 1a51932a79cdb90e30306fed13788eb190d9f628 /llvm/test/MC/AsmParser/defsym_error1.s | |
| parent | 4b22fa7437fa9aab58f335bd5eee4665d7c92748 (diff) | |
| download | bcm5719-llvm-229a1e69fcd1ee1b52fb811a942bdfb86bc6f5d8.tar.gz bcm5719-llvm-229a1e69fcd1ee1b52fb811a942bdfb86bc6f5d8.zip | |
Teaching llvm-mc how to understand the defsym command line option. This allows integer-constant symbols to be defined on the command line and used during assembly.
llvm-svn: 239240
Diffstat (limited to 'llvm/test/MC/AsmParser/defsym_error1.s')
| -rw-r--r-- | llvm/test/MC/AsmParser/defsym_error1.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/defsym_error1.s b/llvm/test/MC/AsmParser/defsym_error1.s new file mode 100644 index 00000000000..872577844d4 --- /dev/null +++ b/llvm/test/MC/AsmParser/defsym_error1.s @@ -0,0 +1,2 @@ +# RUN: not llvm-mc -filetype=obj -triple=i386-unknown-elf -defsym aaoeuaoeu %s 2>&1 | FileCheck %s +# CHECK: defsym must be of the form: sym=value |

