Lines Matching refs:strip

49 ; RUN: llvm-objdump --prefix %p --prefix-strip 1 --source %t-extra-path-prefix.o 2>&1 | \
52 ;; Test do not skip extra separators. The --prefix-strip should take into
54 ;; --prefix-strip needs to be 1. To fix '//extra/Inputs' --prefix-strip
59 ; RUN: llvm-objdump --prefix %p --prefix-strip 2 --source %t-extra-sep-path-prefix.o 2>&1 | \
62 ;; Test --prefix-strip value of 0. No effect.
63 ;; SRC_COMPDIR is set to '/Inputs' before and after --prefix-strip 0.
65 ; RUN: llvm-objdump --prefix %p --prefix-strip 0 --source %t-missing-prefix.o 2>&1 | \
68 ;; Test --prefix-strip value equal to the number of directory components.
69 ;; SRC_COMPDIR is set to '/Inputs' before --prefix-strip 1.
70 ;; SRC_COMPDIR becomes '' after --prefix-strip 1.
72 ; RUN: llvm-objdump --prefix %p/Inputs --prefix-strip 1 --source %t-missing-prefix.o 2>&1 | \
75 ;; Test --prefix-strip value greater than the number of components.
76 ;; SRC_COMPDIR is set to '/Inputs' before --prefix-strip 2.
77 ;; SRC_COMPDIR becomes '' after --prefix-strip 2.
79 ; RUN: llvm-objdump --prefix %p/Inputs --prefix-strip 2 --source %t-missing-prefix.o 2>&1 | \
82 ;; Test negative value --prefix-strip. Reports an error.
84 ; RUN: not llvm-objdump --prefix %p --prefix-strip '-1' --source %t-missing-prefix.o 2>&1 | \
86 ; CHECK-INVALID-PREFIX-STRIP: {{.*}}llvm-objdump{{.*}}: error: --prefix-strip: expected a non-negat…
88 ;; Test text value --prefix-strip. Reports an error.
90 ; RUN: not llvm-objdump --prefix %p --prefix-strip foo --source %t-missing-prefix.o 2>&1 | \
93 ;; Test use of --prefix= and --prefix-strip=
97 ; RUN: llvm-objdump --prefix=%p --prefix-strip=1 --source %t-extra-path-prefix.o 2>&1 | \