Skip to content

Commit 4db8ce7

Browse files
authored
[clang-fuzzer] Fix latent race condition in build (#146119)
Add explicit dependency for gen_vt to the CMakeLists.txt for clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp to prevent race condition on generation of llvm/CodeGen/GenVT.inc This explicit dependency was added in other CMakeLists.txt when the tablegen was added for GenVT.inc file in https://reviews.llvm.org/D148770, but not for handle-llvm A similar fix was made in #109306 rdar://151325382
1 parent e288561 commit 4db8ce7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/tools/clang-fuzzer/handle-llvm/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ add_clang_library(clangHandleLLVM
2424

2525
DEPENDS
2626
intrinsics_gen
27+
vt_gen
2728
)

0 commit comments

Comments
 (0)