[PATCH] Add DefinedAtom::sectionSize().

Rui Ueyama ruiu at google.com
Fri Jun 6 10:53:59 PDT 2014


It's not related to associated sections.

As I wrote in the parch description,  layout-before and layout-after are
mechanisms to layout atoms in some order, and it's not always guaranteed to
be the same as sections. The current implementation that to be removed by
this parch is a hack that depends on an incorrect assumption that
layout-after/layout-before can be used to walk all atoms in the same
section.
2014/06/06 22:47 "Shankar Easwaran" <shankar.kalpathi.easwaran at gmail.com>:

> Iis this because of associated sections ? That you cannot get the section
> size ?
>
> Can you please let us know why you can't get the section size from the
> layout after references / layout before references.
>
> I am not in agreement for this as there is not a use of this on MachO or
> ELF.
>
> http://reviews.llvm.org/D4042
>
>
>

http://reviews.llvm.org/D4042






More information about the llvm-commits mailing list