[Lldb-commits] [PATCH] D90857: [lldb] add a missing dependency on intrinsics_gen

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Nov 8 23:58:34 PST 2020


labath added a comment.

In D90857#2379761 <https://reviews.llvm.org/D90857#2379761>, @teemperor wrote:

> Just to clarify: This only a dependency in the downstream Swift branch?

Judging by the error message, this dependency is not correct even in the swift fork. lldbSymbol does not have a direct dependency on llvmIR. It has a dependency on swift (through SwiftASTContext), and swift (through AST/Builtins.h) has a dependency on the generated headers.

So, the right fix should be to add a lldbSymbol->Swift dependency (if one isn't there already), and then a swift->LLVMIR dep.

Unless there are other, direct dependencies (include paths) from lldbSymbol to LLVMIR. However, I don't see any in the llvm repo, so it still sounds like something swifty...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90857



More information about the lldb-commits mailing list