[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 07:39:29 PST 2023


fpetrogalli added a comment.

In D141581#4056492 <https://reviews.llvm.org/D141581#4056492>, @tschuett wrote:

> I though Clang Basic is a leaf library and must not depend on anything.

I wasn't aware of this requirement.  As of https://reviews.llvm.org/D137517 it depends on some auto-generated target information stored in `LLVMTargetParser` and `llvm/lib/Target/Target/RISCV/RISCV.td`. At the end, it is not even depending on the LLVMTargetParser library, it is just one header file in the public interface of the `TargetParser` that is needed (see explanation in https://reviews.llvm.org/D141581#4056503)


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