aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2025-04-09 09:14:58 +0200
committerDmitry Vyukov <dvyukov@google.com>2025-04-09 10:27:41 +0000
commit16f995ffcf2e3469a7e464ac5d486385641df7d8 (patch)
tree6cafb8ed0854aec9d495cb5aca4e363b5de3038f /tools
parent1aed810c86069f8b9b117ccccf083e98bf0da74c (diff)
tools/syz-declextract: update README.md
Update the latest tested llvm revision. Add additional compiler flags to suppress unuseful warnings.
Diffstat (limited to 'tools')
-rw-r--r--tools/syz-declextract/README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/syz-declextract/README.md b/tools/syz-declextract/README.md
index ccf350c89..86012ea89 100644
--- a/tools/syz-declextract/README.md
+++ b/tools/syz-declextract/README.md
@@ -17,9 +17,12 @@ make CC=clang -j`nproc` # kernel has to be built at least once for the script to
LLVM=$PWD/llvm-project
git clone https://github.com/llvm/llvm-project.git $LLVM
cd $LLVM
-git checkout 3a31427224d4fa49d7ef737b21f6027dc4928ecf # In case of any breaking changes, this commit works
-echo 'add_clang_executable(syz-declextract syz-declextract/declextract.cpp)
-target_link_libraries(syz-declextract PRIVATE clangTooling)' >> $LLVM/clang/CMakeLists.txt
+git checkout d28b4d89166fb705577a2d3a329006f0c0e0aacc # In case of any breaking changes, this commit works
+echo '
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c++20-designator -Wno-missing-designated-field-initializers")
+add_clang_executable(syz-declextract syz-declextract/declextract.cpp)
+target_link_libraries(syz-declextract PRIVATE clangTooling)
+' >> $LLVM/clang/CMakeLists.txt
```
## syz-declextract