[PATCH] D85740: Universal MachO: support LLVM IR objects

Adrien Guinet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 07:19:29 PDT 2020


aguinet added a comment.

In D85740#2214477 <https://reviews.llvm.org/D85740#2214477>, @smeenai wrote:

>> About that part, like I said in the description, the way I see it is to enhance the ObjectYAML library so that we can generate LLVM bitcode file format (as described in https://llvm.org/docs/BitCodeFormat.html), so that yaml2obj can generate appropriate LLVM IR test objects. That would be used for instance to test the -create flag. Do you see another way to do this?
>
> Can't you just use `llvm-as` to produce bitcode files and feed those to llvm-lipo?

Indeed, I can, that's easier... I will try and do that properly next week. Thanks for the hint!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85740



More information about the llvm-commits mailing list