Files
clang-p2996/llvm/test/tools/obj2yaml/COFF/test-1.test
Fangrui Song cfec2080b7 [obj2yaml] Add -o to specify output filename
-o is very common among tools. yaml2obj supports -o and it surprised me that
obj2yaml doesn't support -o. Just add it which doesn't take much code.

Differential Revision: https://reviews.llvm.org/D129713
2022-07-14 00:32:48 -07:00

8 lines
329 B
Plaintext
Executable File

# RUN: obj2yaml %S/Inputs/test-1.o > %t.stdout.yaml
# RUN: obj2yaml %S/Inputs/test-1.o -o %t.file.yaml 2>&1 | count 0
# RUN: yaml2obj %t.stdout.yaml -o %t.o
# RUN: llvm-pdbutil dump --types %t.o | FileCheck %s -check-prefix=ALL
# RUN: diff %t.stdout.yaml %t.file.yaml
# ALL: {{.*}} guid = {00C903AB-0968-4639-84F8-7D3E719A1BE1}