[PATCH] D119612: [clang] Pass more flags to ld64.lld

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 14 11:06:17 PST 2022


MaskRay added inline comments.


================
Comment at: clang/test/Driver/darwin-ld-dedup.c:4
+// -no_deduplicate is only present from ld64 version 262 and later, or lld.
+// RUN: %clang -target x86_64-apple-darwin10 -### -fuse-ld= %s \
 // RUN:   -mlinker-version=261 -O0 2>&1 | FileCheck -check-prefix=LINK_DEDUP %s
----------------
If you are going to change the command line, prefer the canonical `--target=` to the legacy `-target `.


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

https://reviews.llvm.org/D119612



More information about the cfe-commits mailing list