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

Yuta Saito via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 14:46:00 PDT 2024


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

Fix `BUILD_SHARED_LIBS=ON` build for d4efc3e097f40afbe8ae275150f49bb08fc04572

>From 44bcb96af6e657b40c7f30881785990a95965b63 Mon Sep 17 00:00:00 2001
From: Yuta Saito <kateinoigakukun at gmail.com>
Date: Mon, 14 Oct 2024 21:43:03 +0000
Subject: [PATCH] [lld][WebAssembly] Fix build break when building
 liblldWasm.so

Fix `BUILD_SHARED_LIBS=ON` build for d4efc3e097f40afbe8ae275150f49bb08fc04572
---
 lld/wasm/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

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
 



More information about the llvm-commits mailing list