[PATCH] D64827: [Xtensa 2/10] Add Xtensa ELF definitions.
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 8 05:53:21 PDT 2021
jhenderson added inline comments.
================
Comment at: llvm/test/Object/obj2yaml.test:550
-# RUN: yaml2obj %s -o %t-x86-64
+# RUN: yaml2obj --docnum=1 %s -o %t-x86-64
# RUN: obj2yaml %t-x86-64 | FileCheck %s --check-prefix ELF-X86-64
----------------
jrtc27 wrote:
> All other architectures put their input in a separate file to avoid this.
Are you referring to the yaml2obj line or the use of `--docnum`? All other files use pre-canned binaries, which are not ideal, as they are fixed and hard to inspect/understand/update. Using yaml2obj is generally preferable for creating objects at test time.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64827/new/
https://reviews.llvm.org/D64827
More information about the llvm-commits
mailing list