-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
8 lines
329 B
Plaintext
Executable File
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}
|