[PATCH] [PECOFF] Do not use layout-after/before relationships for grouped sections.

Rui Ueyama ruiu at google.com
Mon Aug 5 20:31:19 PDT 2013


  I generally agree with that, but in reality the current model is a hybrid of layout-after/before graph and other information derived from command line or object file. We group atoms by type, permissions, file ordinal or section index. They are in use because it's convenient. So it's not already pure.

  Also, constructing the graph is slow. We don't have a good data structure for connecting atoms in the desired form. For example, in order to find the first and the last atom in a section, we need to scan all the atoms.

http://llvm-reviews.chandlerc.com/D1292



More information about the llvm-commits mailing list