[PATCH] D77154: [cmake] Add LLVM_USE_GDB_INDEX option for gold/lld linkers

Dominic Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 31 14:53:12 PDT 2020


ddcc added a comment.

In D77154#1953423 <https://reviews.llvm.org/D77154#1953423>, @MaskRay wrote:

> Some people don't use -DLLVM_USE_LINKER=lld, but use -DLLVM_ENABLE_LLD=On.


It's a bit confusing, but earlier in `HandleLLVMOptions.cmake`, `LLVM_ENABLE_LLD` is normalized into `LLVM_USE_LINKER`. There's also an internal variable `LINKER_IS_LLD_LINK` that is set by either.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77154





More information about the llvm-commits mailing list