repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] MVE big endian bitcasts
[llvm-complete.git]
/
test
/
tools
/
llvm-objcopy
/
ELF
/
cannot-delete-dest.test
blob
1853049c8acea7ea92a3b41264f7dc902f39c3a2
1
# REQUIRES: system-windows
2
# RUN: yaml2obj %s > %t.o
3
# RUN: rm -f %t2.o
4
# RUN: cp %t.o %t2.o
5
# RUN: attrib +r %t2.o
6
7
# This fails because it cannot replace %t2.o
8
# RUN: not llvm-objcopy %t.o %t2.o
9
10
# But it doesn't leave any temporary files behind.
11
# RUN: not ls %t2.o.tmp*
12
13
!ELF
14
FileHeader:
15
Class: ELFCLASS64
16
Data: ELFDATA2LSB
17
Type: ET_REL
18
Machine: EM_X86_64