The FIXME was indeed fixed in the linker, comment removed.
authorYaron Keren <yaron.keren@gmail.com>
Fri, 25 Oct 2013 12:01:53 +0000 (12:01 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Fri, 25 Oct 2013 12:01:53 +0000 (12:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193402 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/RTDyldMemoryManager.cpp

index 8e205142786cf901fc298bbbf54c78b48373c3bf..6af66dcea2b83bcb7d5ee57cb251f3abcb480bba 100644 (file)
@@ -126,10 +126,6 @@ void RTDyldMemoryManager::registerEHFrames(uint8_t *Addr,
 
   // How can it find the end? Because crtendS.o is linked 
   // in and it has an .eh_frame section with four zero chars.
-  // FIXME: make sure EH frame is followed by four zero bytes.
-  // This should be done in the linker RuntimeDyldELF::getEHFrameSection(),
-  // return pointer to .eh_frame properly appended by four zero bytes.
-  // If the linker can not fixed, do it here.
   __register_frame(Addr);
 }