diff options
Diffstat (limited to 'llvm/test/LTO/X86/bcsection.ll')
| -rw-r--r-- | llvm/test/LTO/X86/bcsection.ll | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/llvm/test/LTO/X86/bcsection.ll b/llvm/test/LTO/X86/bcsection.ll index bcd6bc32848..d403c2c5928 100644 --- a/llvm/test/LTO/X86/bcsection.ll +++ b/llvm/test/LTO/X86/bcsection.ll @@ -1,19 +1,20 @@ -; RUN: llvm-as -o %T/bcsection.bc %s +; RUN: rm -rf %t && mkdir -p %t +; RUN: llvm-as -o %t/bcsection.bc %s -; RUN: llvm-mc -I=%T -filetype=obj -triple=x86_64-pc-win32 -o %T/bcsection.coff.bco %p/Inputs/bcsection.s -; RUN: llvm-nm %T/bcsection.coff.bco | FileCheck %s -; RUN: llvm-lto -exported-symbol=main -exported-symbol=_main -o %T/bcsection.coff.o %T/bcsection.coff.bco -; RUN: llvm-nm %T/bcsection.coff.o | FileCheck %s +; RUN: llvm-mc -I=%t -filetype=obj -triple=x86_64-pc-win32 -o %t/bcsection.coff.bco %p/Inputs/bcsection.s +; RUN: llvm-nm %t/bcsection.coff.bco | FileCheck %s +; RUN: llvm-lto -exported-symbol=main -exported-symbol=_main -o %t/bcsection.coff.o %t/bcsection.coff.bco +; RUN: llvm-nm %t/bcsection.coff.o | FileCheck %s -; RUN: llvm-mc -I=%T -filetype=obj -triple=x86_64-unknown-linux-gnu -o %T/bcsection.elf.bco %p/Inputs/bcsection.s -; RUN: llvm-nm %T/bcsection.elf.bco | FileCheck %s -; RUN: llvm-lto -exported-symbol=main -exported-symbol=_main -o %T/bcsection.elf.o %T/bcsection.elf.bco -; RUN: llvm-nm %T/bcsection.elf.o | FileCheck %s +; RUN: llvm-mc -I=%t -filetype=obj -triple=x86_64-unknown-linux-gnu -o %t/bcsection.elf.bco %p/Inputs/bcsection.s +; RUN: llvm-nm %t/bcsection.elf.bco | FileCheck %s +; RUN: llvm-lto -exported-symbol=main -exported-symbol=_main -o %t/bcsection.elf.o %t/bcsection.elf.bco +; RUN: llvm-nm %t/bcsection.elf.o | FileCheck %s -; RUN: llvm-mc -I=%T -filetype=obj -triple=x86_64-apple-darwin11 -o %T/bcsection.macho.bco %p/Inputs/bcsection.macho.s -; RUN: llvm-nm %T/bcsection.macho.bco | FileCheck %s -; RUN: llvm-lto -exported-symbol=main -exported-symbol=_main -o %T/bcsection.macho.o %T/bcsection.macho.bco -; RUN: llvm-nm %T/bcsection.macho.o | FileCheck %s +; RUN: llvm-mc -I=%t -filetype=obj -triple=x86_64-apple-darwin11 -o %t/bcsection.macho.bco %p/Inputs/bcsection.macho.s +; RUN: llvm-nm %t/bcsection.macho.bco | FileCheck %s +; RUN: llvm-lto -exported-symbol=main -exported-symbol=_main -o %t/bcsection.macho.o %t/bcsection.macho.bco +; RUN: llvm-nm %t/bcsection.macho.o | FileCheck %s ; REQUIRES: default_triple |

