14 lines · plain
1## Test if providing objcopy with an invalid regex generates an error.2 3# RUN: yaml2obj %s -o %t4 5# RUN: not llvm-objcopy --regex --strip-symbol='[^)\' %t /dev/null 2>&1 | FileCheck %s6# CHECK: error: cannot compile regular expression '[^)\'7 8!ELF9FileHeader:10 Class: ELFCLASS6411 Data: ELFDATA2LSB12 Type: ET_EXEC13 Machine: EM_X86_6414