summaryrefslogtreecommitdiffstats
path: root/lld/wasm/Config.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-05-31 22:51:59 +0000
committerSam Clegg <sbc@chromium.org>2019-05-31 22:51:59 +0000
commit7d4ec5af6c27c2c7225afbfd7b6460930a384ac6 (patch)
tree04351ce0e0bbd27bea2a4ec2bea5e83121a40c2f /lld/wasm/Config.h
parent302eedcbfae15e2d1606802a818358d5b7c219ca (diff)
downloadbcm5719-llvm-7d4ec5af6c27c2c7225afbfd7b6460930a384ac6.tar.gz
bcm5719-llvm-7d4ec5af6c27c2c7225afbfd7b6460930a384ac6.zip
[WebAssembly] Don't export __data_end and __heap_base by default.
These can still be exported via --export if needed. Differential Revision: https://reviews.llvm.org/D62744 llvm-svn: 362276
Diffstat (limited to 'lld/wasm/Config.h')
-rw-r--r--lld/wasm/Config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/wasm/Config.h b/lld/wasm/Config.h
index 6650e9e89df..b6e72dcc721 100644
--- a/lld/wasm/Config.h
+++ b/lld/wasm/Config.h
@@ -59,6 +59,7 @@ struct Configuration {
llvm::StringRef ThinLTOCacheDir;
llvm::StringSet<> AllowUndefinedSymbols;
+ llvm::StringSet<> ExportedSymbols;
std::vector<llvm::StringRef> SearchPaths;
llvm::CachePruningPolicy ThinLTOCachePolicy;
llvm::Optional<std::vector<std::string>> Features;
OpenPOWER on IntegriCloud