diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-06-15 21:51:01 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-06-15 21:51:01 +0000 |
commit | 383971d2a7d38607c042660218c4bf7a2443a655 (patch) | |
tree | 573ecae4eb91a22a83f54f11de4c37f88f27c7e3 /llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp | |
parent | 8a7a4cfa4397523f689916b92c0be894f73573de (diff) | |
download | llvm-383971d2a7d38607c042660218c4bf7a2443a655.zip llvm-383971d2a7d38607c042660218c4bf7a2443a655.tar.gz llvm-383971d2a7d38607c042660218c4bf7a2443a655.tar.bz2 |
Move clearOutputSections before sortSections.
This is probably the main patch left in unifying our intermediary
representation.
It moves the creation of default commands before section sorting. This
has the nice effect that we now have one location where we decide
where an orphan section should be placed.
Before this patch sortSections would decide the relative location of
orphan sections to other sections, but it was up to placeOrphanSection
to decide on the exact location.
We now only sort sections we created since the linker script is
already in the correct order.
llvm-svn: 305512
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp')
0 files changed, 0 insertions, 0 deletions