[PATCH] D77006: [lld-macho] Support reading of universal binaries

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 31 10:33:40 PDT 2020


MaskRay accepted this revision.
MaskRay added a comment.

LGTM, with nits.



================
Comment at: lld/test/MachO/fat-arch.s:10
+# RUN:    FileCheck %s -DFILE=%t.noarch.o
+# CHECK: Unable to find matching architecture in [[FILE]]
+# CHECK: undefined symbol: _main
----------------
Add more context the the diagnostics, probably `error: `

It is also a convention to not capitalize the diagnostics, see clang, ld.lld and binutils/LLVM binary utilities' output.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77006/new/

https://reviews.llvm.org/D77006





More information about the llvm-commits mailing list