[lld] r325370 - [WebAssembly] Fix typos in comment. NFC.
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 16 10:37:33 PST 2018
Author: sbc
Date: Fri Feb 16 10:37:32 2018
New Revision: 325370
URL: http://llvm.org/viewvc/llvm-project?rev=325370&view=rev
Log:
[WebAssembly] Fix typos in comment. NFC.
Patch by Nicholas Wilson!
Modified:
lld/trunk/wasm/MarkLive.cpp
Modified: lld/trunk/wasm/MarkLive.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/MarkLive.cpp?rev=325370&r1=325369&r2=325370&view=diff
==============================================================================
--- lld/trunk/wasm/MarkLive.cpp (original)
+++ lld/trunk/wasm/MarkLive.cpp Fri Feb 16 10:37:32 2018
@@ -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)
More information about the llvm-commits
mailing list