[PATCH] D76461: [llvm-ar] Use target triple to deduce archive kind for bitcode inputs
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 20 11:55:26 PDT 2020
MaskRay added inline comments.
================
Comment at: llvm/tools/llvm-ar/llvm-ar.cpp:902
+ Triple TargetTriple(IRObject.getTargetTriple());
+ return TargetTriple.isOSDarwin()
+ ? object::Archive::K_DARWIN
----------------
Optional: `Triple(IRObject.getTargetTriple()).isOSDarwin()`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76461/new/
https://reviews.llvm.org/D76461
More information about the llvm-commits
mailing list