[lld] r270390 - Add comment.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sun May 22 18:45:05 PDT 2016


Author: ruiu
Date: Sun May 22 20:45:05 2016
New Revision: 270390

URL: http://llvm.org/viewvc/llvm-project?rev=270390&view=rev
Log:
Add comment.

Modified:
    lld/trunk/ELF/OutputSections.cpp

Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=270390&r1=270389&r2=270390&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Sun May 22 20:45:05 2016
@@ -756,6 +756,10 @@ EhFrameHeader<ELFT>::getFdePc(uintX_t Eh
   }
 }
 
+// .eh_frame_hdr contains a binary search table of pointers to FDEs.
+// Each entry of the search table consists of two values,
+// the starting PC from where FDEs covers, and the FDE's address.
+// It is sorted by PC.
 template <class ELFT> void EhFrameHeader<ELFT>::writeTo(uint8_t *Buf) {
   const endianness E = ELFT::TargetEndianness;
 




More information about the llvm-commits mailing list