[lld] r234279 - Fix weird comment line-wrapping.

Rui Ueyama ruiu at google.com
Mon Apr 6 19:26:42 PDT 2015


Author: ruiu
Date: Mon Apr  6 21:26:42 2015
New Revision: 234279

URL: http://llvm.org/viewvc/llvm-project?rev=234279&view=rev
Log:
Fix weird comment line-wrapping.

Modified:
    lld/trunk/lib/ReaderWriter/ELF/ELFFile.h

Modified: lld/trunk/lib/ReaderWriter/ELF/ELFFile.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/ELFFile.h?rev=234279&r1=234278&r2=234279&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/ELFFile.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/ELFFile.h Mon Apr  6 21:26:42 2015
@@ -925,13 +925,12 @@ std::error_code ELFFile<ELFT>::handleSec
 template <class ELFT> std::error_code ELFFile<ELFT>::createAtomsFromContext() {
   if (!_useWrap)
     return std::error_code();
-  // Steps :-
+  // Steps:
   // a) Create an undefined atom for the symbol specified by the --wrap option,
-  // as that
-  // may be needed to be pulled from an archive.
+  //    as that may be needed to be pulled from an archive.
   // b) Create an undefined atom for __wrap_<symbolname>.
   // c) All references to the symbol specified by wrap should point to
-  // __wrap_<symbolname>
+  //    __wrap_<symbolname>
   // d) All references to __real_symbol should point to the <symbol>
   for (auto &wrapsym : _ctx.wrapCalls()) {
     StringRef wrapStr = wrapsym.getKey();





More information about the llvm-commits mailing list