[PATCH] D127777: [ThinLTO][ELF] Add --thinlto-emit-index-files option

Jin Xin Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 17:42:58 PDT 2022


Northbadge added inline comments.


================
Comment at: lld/test/ELF/lto/thinlto-emit-index.ll:54
+; RUN: not ld.lld --thinlto-emit-index-files -shared %t2.o --start-lib %t1.o --end-lib \
+; RUN: --thinlto-prefix-replace="abc;xyz" 2>&1 | FileCheck %s --check-prefix=ERR2
+; ERR2: --thinlto-prefix-replace is not supported with --thinlto-emit-index-files
----------------
MaskRay wrote:
> `thinlto-prefix-replace` has been tested. Don't repeat the test here.
I'm testing to make sure that an error is thrown when both `thinlto-emit-index-files` and `thinlto-prefix-replace` is specified though


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127777



More information about the llvm-commits mailing list