diff --git a/lld/MachO/ConcatOutputSection.cpp b/lld/MachO/ConcatOutputSection.cpp --- a/lld/MachO/ConcatOutputSection.cpp +++ b/lld/MachO/ConcatOutputSection.cpp @@ -84,15 +84,17 @@ // distant call sites might be unable to reach the same thunk, so multiple // thunks are necessary to serve all call sites in a very large program. A // thunkInfo stores state for all thunks associated with a particular -// function: (a) thunk symbol, (b) input section containing stub code, and -// (c) sequence number for the active thunk incarnation. When an old thunk -// goes out of range, we increment the sequence number and create a new -// thunk named .thunk.. +// function: +// (a) thunk symbol +// (b) input section containing stub code, and +// (c) sequence number for the active thunk incarnation. +// When an old thunk goes out of range, we increment the sequence number and +// create a new thunk named .thunk.. // -// * A thunk consists of (a) a Defined symbol pointing to -// (b) an InputSection holding machine instructions (similar to a MachO -// stub), and (c) Reloc(s) that reference the real function for fixing-up -// the stub code. +// * A thunk consists of +// (a) a Defined symbol pointing to +// (b) an InputSection holding machine code (similar to a MachO stub), and +// (c) relocs referencing the real function for fixing up the stub code. // // * std::vector MergedInputSection::thunks: A vector parallel // to the inputs vector. We store new thunks via cheap vector append, rather diff --git a/lld/test/MachO/arm64-thunk-visibility.s b/lld/test/MachO/arm64-thunk-visibility.s --- a/lld/test/MachO/arm64-thunk-visibility.s +++ b/lld/test/MachO/arm64-thunk-visibility.s @@ -1,7 +1,7 @@ # REQUIRES: aarch64 # foo.s and bar.s both contain TU-local symbols (think static function) -# with the same name, and both need a thunk.. This tests that ld64.lld doesn't +# with the same name, and both need a thunk. This tests that ld64.lld doesn't # create a duplicate symbol for the two functions. # Test this both when the TU-local symbol is the branch source or target,