diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-01-05 05:56:39 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-01-05 05:56:39 +0000 |
| commit | 6252bd8eac35653bc0e9c66bd7920735cee1b362 (patch) | |
| tree | 2ee73eaaea6ba564733cf111f5c48d187174e3a7 /llvm/test/MC/AsmParser/include.ll | |
| parent | 1ab35fa7a822f6e6a6b784b9e1355bc323b89970 (diff) | |
| download | bcm5719-llvm-6252bd8eac35653bc0e9c66bd7920735cee1b362.tar.gz bcm5719-llvm-6252bd8eac35653bc0e9c66bd7920735cee1b362.zip | |
MC: support passing search paths to the IAS
This is needed to support inclusion in inline assembly via the
`.include` directive.
llvm-svn: 291085
Diffstat (limited to 'llvm/test/MC/AsmParser/include.ll')
| -rw-r--r-- | llvm/test/MC/AsmParser/include.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/include.ll b/llvm/test/MC/AsmParser/include.ll new file mode 100644 index 00000000000..cc733f70515 --- /dev/null +++ b/llvm/test/MC/AsmParser/include.ll @@ -0,0 +1,13 @@ +; RUN: llc -mtriple thumbv7--- -I %p/include -filetype asm -o - %s | FileCheck %s + +module asm ".include \22module.x\22" + +define arm_aapcscc void @f() { +entry: + call void asm sideeffect ".include \22function.x\22", ""() + ret void +} + +; CHECK: MODULE = 1 +; CHECK: FUNCTION = 1 + |

