summaryrefslogtreecommitdiff
path: root/src/wasm-linker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-linker.cpp')
-rw-r--r--src/wasm-linker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-linker.cpp b/src/wasm-linker.cpp
index a2e88cfb3..628e24ecc 100644
--- a/src/wasm-linker.cpp
+++ b/src/wasm-linker.cpp
@@ -123,6 +123,7 @@ void Linker::layout() {
}
};
for (auto& relocation : out.relocations) {
+ // TODO: Handle weak symbols properly, instead of always taking the weak definition.
auto *alias = out.getAlias(relocation->symbol, relocation->kind);
Name name = relocation->symbol;