repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git]
/
llvm
/
test
/
tools
/
llvm-objcopy
/
regex-error.test
blob
ca9bb2f3b4f9f836a6633499b8a6b7cd2f4a2550
1
## Test if providing objcopy with an invalid regex generates an error.
2
3
# RUN: yaml2obj %s -o %t
4
5
# RUN: not llvm-objcopy --regex --strip-symbol='[^)\' %t /dev/null 2>&1 | FileCheck %s
6
# CHECK: error: cannot compile regular expression '[^)\'
7
8
!ELF
9
FileHeader:
10
Class: ELFCLASS64
11
Data: ELFDATA2LSB
12
Type: ET_EXEC
13
Machine: EM_X86_64