brintos

brintos / llvm-project-archived public Read only

0
0
Text · 552 B · 0fba437 Raw
12 lines · plain
1;; Test --prefix option platform specific behavior.2; UNSUPPORTED: system-windows3 4;; Test removal of trailing separators (only '/' on non-Windows systems).5;; The prefix 'myprefix/\' is not changed.6 7; RUN: sed -e "s,SRC_COMPDIR,/Inputs,g" %p/Inputs/source-interleave.ll > %t.ll8; RUN: llc -o %t.o -filetype=obj -mtriple=x86_64-pc-linux %t.ll9; 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.c11 12