[llvm] [XCOFF][obj2yaml] Support SymbolAlignmentAndType as 2 separate fields in YAML. (PR #76828)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 00:53:57 PST 2024


================
@@ -0,0 +1,209 @@
+## Check that obj2yaml can parse SymbolAlignmentAndType, SymbolAlignment, and SymbolType.
+
+# RUN: yaml2obj %s --docnum=1 -o %t32
+# RUN: obj2yaml %t32 | FileCheck %s --check-prefix=CHECK32
+
+# CHECK32:      --- !XCOFF
----------------
jh7370 wrote:

This test is about specific fields. You don't need to check the rest of the output; just enough to show that the field values are correct and are referring to the right symbol.

https://github.com/llvm/llvm-project/pull/76828


More information about the llvm-commits mailing list