[PATCH] D141581: [clang] Make clangBasic and clangDriver depend on LLVMTargetParser.

Francesco Petrogalli via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 16 13:38:26 PST 2023


fpetrogalli added a comment.

In D141581#4056825 <https://reviews.llvm.org/D141581#4056825>, @barannikov88 wrote:

> clangBasic and clangDriver already have a dependency on TargetParser (see LLVM_LINK_COMPONENTS at the beginning of corresponding files). Is that not enough?
> Will it build if you just remove the additional dependency?

No - if we just specify the dependency in `LLVM_LINK_COMPONENTS`, there are build failures, as explained in the commit message of https://reviews.llvm.org/rGac1ffd3caca12c254e0b8c847aa8ce8e51b6cfbf.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141581



More information about the cfe-commits mailing list