[lld] ac2f3df - [lld][WebAssembly] Remove redundant config setting

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 20 15:22:08 PST 2022


Author: Sam Clegg
Date: 2022-01-20T15:21:56-08:00
New Revision: ac2f3df8396ac5bc507bd84eec185d756420e47c

URL: https://github.com/llvm/llvm-project/commit/ac2f3df8396ac5bc507bd84eec185d756420e47c
DIFF: https://github.com/llvm/llvm-project/commit/ac2f3df8396ac5bc507bd84eec185d756420e47c.diff

LOG: [lld][WebAssembly] Remove redundant config setting

Unresolved symbols are not currently reported when building with
`-shared` or `-pie` so setting unresolvedSymbols doesn't have any
effect.

Differential Revision: https://reviews.llvm.org/D117737

Added: 
    

Modified: 
    lld/wasm/Driver.cpp

Removed: 
    


################################################################################
diff  --git a/lld/wasm/Driver.cpp b/lld/wasm/Driver.cpp
index 7523755806ab..cb7ca13ebd6a 100644
--- a/lld/wasm/Driver.cpp
+++ b/lld/wasm/Driver.cpp
@@ -474,7 +474,6 @@ static void setConfigs() {
   if (config->shared) {
     config->importMemory = true;
     config->importUndefined = true;
-    config->unresolvedSymbols = UnresolvedPolicy::Ignore;
   }
 }
 


        


More information about the llvm-commits mailing list