diff options
-rw-r--r-- | lld/wasm/MarkLive.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/wasm/MarkLive.cpp b/lld/wasm/MarkLive.cpp index 7a0a9e9724d..296813035b4 100644 --- a/lld/wasm/MarkLive.cpp +++ b/lld/wasm/MarkLive.cpp @@ -59,9 +59,9 @@ void lld::wasm::markLive() { if (!Sym->isHidden()) Enqueue(Sym); - // The ctor fuctions are all used the synthetic __wasm_call_ctors function, - // but since this function is created in-place it doesn't contain reloctations - // which mean we have to manually mark the ctors. + // The ctor functions are all used in the synthetic __wasm_call_ctors + // function, but since this function is created in-place it doesn't contain + // reloctations which mean we have to manually mark the ctors. for (const ObjFile *Obj : Symtab->ObjectFiles) { const WasmLinkingData &L = Obj->getWasmObj()->linkingData(); for (const WasmInitFunc &F : L.InitFunctions) |