diff options
author | Hal Finkel <hfinkel@anl.gov> | 2015-10-13 17:57:46 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2015-10-13 17:57:46 +0000 |
commit | 0d7e83bbc49373504cc634d9208422102c15d575 (patch) | |
tree | f85d16e2661869f848bb2691d3c37d9dc409d561 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | ed2146d23509356c08dab4a7f14ae8eb9e492319 (diff) | |
download | bcm5719-llvm-0d7e83bbc49373504cc634d9208422102c15d575.tar.gz bcm5719-llvm-0d7e83bbc49373504cc634d9208422102c15d575.zip |
[ELF2] Ensure strict weak ordering in section sorting (v2)
The fix in r250109 to ensure a strict weak ordering in the section sorting was
a bit overzealous. We only use the NOBITS comparison if either A or B is a
NOBITS section. Otherwise, we fall through to the target-specific ranking
function. Failure to do this causes the sorting to fail in cases where, for
example, a .dynamic section happens to end up in between .got and .toc, etc. in
the initial ordering (.dynamic has a type SHT_DYNAMIC, compared to SHT_PROGBITS
or SHT_NOBITS).
llvm-svn: 250190
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions