Author: Richard Howell Date: 2020-11-06T13:15:08-05:00 New Revision: 137ff7331705179c83533a074d800c481b7df1ac
URL: https://github.com/llvm/llvm-project/commit/137ff7331705179c83533a074d800c481b7df1ac DIFF: https://github.com/llvm/llvm-project/commit/137ff7331705179c83533a074d800c481b7df1ac.diff LOG: [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 Added: Modified: lldb/source/Symbol/CMakeLists.txt Removed: ################################################################################ diff --git a/lldb/source/Symbol/CMakeLists.txt b/lldb/source/Symbol/CMakeLists.txt index 95bf156ff538..2ce0b6887e5f 100644 --- a/lldb/source/Symbol/CMakeLists.txt +++ b/lldb/source/Symbol/CMakeLists.txt @@ -39,6 +39,9 @@ add_lldb_library(lldbSymbol ${PLATFORM_SOURCES} + DEPENDS + intrinsics_gen + LINK_LIBS lldbCore lldbExpression _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits