[lldb] add a missing dependency on intrinsics_gen

Sometimes builds will fail with errors like:

```
In file included from /build/external/llvm-project/lldb/source/Symbol/SwiftASTContext.cpp:52:
In file included from /build/external/swift/include/swift/IRGen/Linking.h:22:
In file included from /build/external/swift/include/swift/SIL/SILFunction.h:24:
In file included from /build/external/swift/include/swift/SIL/SILBasicBlock.h:23:
In file included from /build/external/swift/include/swift/SIL/SILInstruction.h:21:
In file included from /build/external/swift/include/swift/AST/Builtins.h:24:
**/build/external/llvm-project/llvm/include/llvm/IR/Attributes.h:74:14: fatal error: 'llvm/IR/Attributes.inc' file not found**
**^~~~~~~~~~~~~~~~~~~~~~~~**
```
This change ensures the `Attributes.inc` file is generated before building `SwiftASTContext.cpp`.

Differential Revision: https://reviews.llvm.org/D90857
This commit is contained in:
Richard Howell 2020-11-06 10:04:28 -08:00 committed by Nathan Lanza
parent b9c353fabb
commit 137ff73317
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@ add_lldb_library(lldbSymbol
${PLATFORM_SOURCES}
DEPENDS
intrinsics_gen
LINK_LIBS
lldbCore
lldbExpression