From 5c0164890c2626393f954b79d2779174319dc958 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 28 Jan 2021 08:20:42 -0800 Subject: [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 --- lld/wasm/MarkLive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lld/wasm/MarkLive.cpp') 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; -- cgit v1.1