1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test/tools/llvm-objcopy/Inputs
Stella Stamenova 7279a94c5c [llvm-objcopy, tests] Fix several llvm-objcopy tests
Summary: In Python 3, sys.stdout.write expects a string rather than bytes. In order to be able to write the bytes to stdout, we need to use the buffer directly instead. This change is borrowing the implementation for writing to stdout that cat.py uses. Note that we cannot use cat.py directly because the file we are trying to open is a gzip file.

Reviewers: asmith, bkramer, alexshap, jakehehrlich

Reviewed By: alexshap, jakehehrlich

Subscribers: jakehehrlich, llvm-commits

Differential Revision: https://reviews.llvm.org/D49515

llvm-svn: 337567
2018-07-20 16:19:36 +00:00
..
alloc-symtab.o
dwarf.dwo
dynamic.so
dynrel.elf
dynsym.so
groups.o
many-sections.o.gz [llvm-objcopy] Add support for large indexes 2018-07-16 19:48:52 +00:00
pt-phdr.elf
ungzip.py [llvm-objcopy, tests] Fix several llvm-objcopy tests 2018-07-20 16:19:36 +00:00