hanchenye-llvm-project/lld/lib/Passes
Shankar Easwaran d8da989e78 [lld][LayoutPass] An earlier commit moved the functionality so that Atoms would
be laid out by their ordinal overrides first, there was a bug that two atoms may 
get the same override index due to which atoms were not ordered properly. This
commit fixes the problem.

Now the atoms are ordered by 

- Section Position hints
- Atom override (Using layout-after/layout-before/in-group)
- Content Permissions
- Content Type
- File Ordinal

This also fixes the problem of running c++ static executables that 
was broken by an earlier patch.

llvm-svn: 182494
2013-05-22 17:41:04 +00:00
..
CMakeLists.txt add changes for layoutafter/layoutbefore/ingroup/layoutpass and test cases 2013-02-07 20:16:12 +00:00
GOTPass.cpp
LayoutPass.cpp [lld][LayoutPass] An earlier commit moved the functionality so that Atoms would 2013-05-22 17:41:04 +00:00
StubsPass.cpp