[all-commits] [llvm/llvm-project] 137ff7: [lldb] add a missing dependency on intrinsics_gen
Richard Howell via All-commits
all-commits at lists.llvm.org
Fri Nov 6 10:20:05 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 137ff7331705179c83533a074d800c481b7df1ac
https://github.com/llvm/llvm-project/commit/137ff7331705179c83533a074d800c481b7df1ac
Author: Richard Howell <rhow at fb.com>
Date: 2020-11-06 (Fri, 06 Nov 2020)
Changed paths:
M lldb/source/Symbol/CMakeLists.txt
Log Message:
-----------
[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
More information about the All-commits
mailing list