[PATCH] D24576: Change how we compute offsets with linker scripts
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 15 03:54:32 PDT 2016
grimar added inline comments.
================
Comment at: ELF/LinkerScript.cpp:334
@@ +333,3 @@
+ // works correctly in the case below:
+ // .foo { *(.aaa) a = SIZEOF(.foo); *(.bbb) }
+ CurOutSec->setSize(Pos - CurOutSec->getVA());
----------------
Not sure but may do something with this comment as it is not so clear anymore which for-loop is mentioned.
https://reviews.llvm.org/D24576
More information about the llvm-commits
mailing list