================ @@ -0,0 +1,42 @@ +## yaml2obj requires IsLittleEndian in every Mach-O document and fat slice, ---------------- oskarwirga wrote:
> Do we have testing that IsLittleEndian is respected correctly? Yes, `llvm/test/ObjectYAML/MachO/BigEndian.yaml` does `yaml2obj | obj2yaml | FileCheck` with `IsLittleEndian: false` and a big-endian magic. obj2yaml detects byte order from the actual binary, so that FileCheck would fail if yaml2obj ignored the key. > do we have testing that shows that obj2yaml now always emits IsLittleEndian? Half, that test proves the `false` case, but not the `true` case. I'll amend to add a round-trip run asserting `IsLittleEndian: true` shows up in obj2yaml's output. https://github.com/llvm/llvm-project/pull/238122 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
