diff options
author | Teresa Johnson <tejohnson@google.com> | 2015-10-29 21:24:38 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2015-10-29 21:24:38 +0000 |
commit | bc11ede2c96bfddcd1bd58c13cde9daee4244af1 (patch) | |
tree | f5d180fbf4fbb9f040cff61a26b9c187d28426e0 /llvm/lib/Transforms/Utils/AddDiscriminators.cpp | |
parent | 69e596a5e7dc0038191a7d10cddf7c6cf77f4ff7 (diff) | |
download | bcm5719-llvm-bc11ede2c96bfddcd1bd58c13cde9daee4244af1.tar.gz bcm5719-llvm-bc11ede2c96bfddcd1bd58c13cde9daee4244af1.zip |
Fix test check label.
Summary:
I noticed when manually modifying this test that it was passing when I
expected it to fail. Looks like the combination of LABEL and NOT on the
check does not work. This can also be seen when running FileCheck with
only that one -check-prefix (removing the additional -check-prefix=B):
/usr/local/google/home/tejohnson/llvm/llvm_11_build/./bin/llvm-link -S -internalize -only-needed /usr/local/google/home/tejohnson/llvm/llvm_11_build/test/Linker/Output/link-flags.ll.tmp.b.bc /usr/local/google/home/tejohnson/llvm/llvm_11_build/test/Linker/Output/link-flags.ll.tmp.c.bc | /usr/local/google/home/tejohnson/llvm/llvm_11_build/./bin/FileCheck /usr/local/google/home/tejohnson/llvm/llvm_11/test/Linker/link-flags.ll -check-prefix=CN
error: no check strings found with prefix 'CN:'
The CN prefix checks don't in fact need "LABEL" so remove that.
Reviewers: tra
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D14173
llvm-svn: 251655
Diffstat (limited to 'llvm/lib/Transforms/Utils/AddDiscriminators.cpp')
0 files changed, 0 insertions, 0 deletions