From c1b8811ac8b4fbbd510781b59efd10533dfdf75a Mon Sep 17 00:00:00 2001 From: Roman Kolesnikov Date: Wed, 28 Aug 2024 06:01:26 +0200 Subject: [PATCH] Add llvm-dwp binary to toolchain (#478) There is an option to compile debug information to separate file. It's supported in Clang via -gsplit-dwarf to generate dwo files but we need llvm-dwp tool to combine them into single dwp file supported by Chrome DWARF extension https://developer.chrome.com/blog/faster-wasm-debugging --- cmake/wasi-sdk-toolchain.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/wasi-sdk-toolchain.cmake b/cmake/wasi-sdk-toolchain.cmake index dcab073..fb4044c 100644 --- a/cmake/wasi-sdk-toolchain.cmake +++ b/cmake/wasi-sdk-toolchain.cmake @@ -45,6 +45,7 @@ set(tools llvm-ranlib llvm-strip llvm-dwarfdump + llvm-dwp clang-resource-headers ar ranlib