1 ;; Test --prefix option platform specific behavior.
2 ; REQUIRES: system-windows
4 ;; Test removal of trailing separators (both '/' and '\' on Windows systems).
5 ;; The prefix 'myprefix/\' is changed to 'myprefix'.
7 ; RUN: sed -e "s,SRC_COMPDIR,/Inputs,g" %p/Inputs/source-interleave.ll > %t.ll
8 ; RUN: llc -o %t.o -filetype=obj -mtriple=x86_64-pc-linux %t.ll
9 ; RUN: llvm-objdump --prefix 'myprefix/\' --source %t.o 2>&1 | FileCheck %s -DFILE=%t.o -DPREFIX='myprefix'
10 ; CHECK: warning: '[[FILE]]': failed to find source [[PREFIX]]/Inputs\source-interleave-x86_64.c