aboutsummaryrefslogtreecommitdiff
path: root/lld/wasm/MarkLive.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2021-01-28 08:20:42 -0800
committerSam Clegg <sbc@chromium.org>2021-01-28 08:52:14 -0800
commit5c0164890c2626393f954b79d2779174319dc958 (patch)
tree05ea48825f3ac49af6797ce34418446d86fd3389 /lld/wasm/MarkLive.cpp
parente29552c5aff68c1cf4be695d8b8be327968852e8 (diff)
downloadllvm-5c0164890c2626393f954b79d2779174319dc958.zip
llvm-5c0164890c2626393f954b79d2779174319dc958.tar.gz
llvm-5c0164890c2626393f954b79d2779174319dc958.tar.bz2
[lld][WebAssembly] Update comments mentioning legacy function names. NFC
The __wasm_apply_relocs function was split into two separate functions as part of https://reviews.llvm.org/D93066 but these comments were not correctly updated at the time. Differential Revision: https://reviews.llvm.org/D95623
Diffstat (limited to 'lld/wasm/MarkLive.cpp')
-rw-r--r--lld/wasm/MarkLive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/wasm/MarkLive.cpp b/lld/wasm/MarkLive.cpp
index f21774b..23c9ae8 100644
--- a/lld/wasm/MarkLive.cpp
+++ b/lld/wasm/MarkLive.cpp
@@ -189,7 +189,7 @@ bool MarkLive::isCallCtorsLive() {
return false;
// In Emscripten-style PIC, we call `__wasm_call_ctors` which calls
- // `__wasm_apply_relocs`.
+ // `__wasm_apply_data_relocs`.
if (config->isPic)
return true;