[PATCH] D121868: [cc1as] Add support for emitting the build version load command for -darwin-target-variant

Byoungchan Lee via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 20 05:33:43 PDT 2022


bc-lee marked 3 inline comments as done.
bc-lee added inline comments.


================
Comment at: clang/test/Misc/cc1as-darwin-target-variant-triple.s:2
+// Run cc1as using darwin-target-variant-triple
+// RUN: %clang -cc1as -triple x86_64-apple-macos10.9 -darwin-target-variant-triple x86_64-apple-ios13.1-macabi -filetype obj %s -o - \
+// RUN: | llvm-readobj --file-headers --macho-version-min - \
----------------
MaskRay wrote:
> `-filetype obj` on the `%clang -cc1as` line seems weird.
Without this, I cannot create object file and validate it using `llvm-readobj`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121868



More information about the cfe-commits mailing list