[lld] [lld][WebAssembly] Fix build break when building liblldWasm.so (PR #112275)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 14:46:32 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lld

Author: Yuta Saito (kateinoigakukun)

<details>
<summary>Changes</summary>

Fix `BUILD_SHARED_LIBS=ON` build for d4efc3e097f40afbe8ae275150f49bb08fc04572

---
Full diff: https://github.com/llvm/llvm-project/pull/112275.diff


1 Files Affected:

- (modified) lld/wasm/CMakeLists.txt (+1) 


``````````diff
diff --git a/lld/wasm/CMakeLists.txt b/lld/wasm/CMakeLists.txt
index 6033bfbf9a50a3..ba89a6fee3504e 100644
--- a/lld/wasm/CMakeLists.txt
+++ b/lld/wasm/CMakeLists.txt
@@ -28,6 +28,7 @@ add_lld_library(lldWasm
   Object
   Option
   Passes
+  ProfileData
   Support
   TargetParser
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/112275


More information about the llvm-commits mailing list