[PATCH] D145268: [lld-macho] Fix default LTO triple

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 13:41:11 PST 2023


int3 added inline comments.


================
Comment at: lld/test/MachO/lto-object-path.ll:5
 ; RUN: rm -rf %t; mkdir %t
+; RUN: llc -filetype=obj %s -o %t/test-obj.o
 ; RUN: opt -thinlto-bc %s -o %t/test.o
----------------
keith wrote:
> int3 wrote:
> > how does compiling with `llc` different from compiling with `opt`?
> the difference is that we want an object file here and the opt calls are producing bitcode files
d'oh, of course :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145268



More information about the llvm-commits mailing list