[PATCH] D78988: [LTO] Suppress emission of empty combined module by default

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 2 11:06:57 PDT 2020


MaskRay added a comment.

> That unless the user requested an output object (-lto-obj-path)

Use `--lto-obj-path`. `-l` is a very common and conflicting option.



================
Comment at: lld/test/COFF/lto-obj-path.ll:14
 
+;; Ensure ld emits empty combined module if specific obj-path.
+; RUN: rm -fr %t.dir/objpath && mkdir -p %t.dir/objpath
----------------
Use either lld or lld-link


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78988





More information about the llvm-commits mailing list