aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-10-13 17:57:46 +0000
committerHal Finkel <hfinkel@anl.gov>2015-10-13 17:57:46 +0000
commit0d7e83bbc49373504cc634d9208422102c15d575 (patch)
treef85d16e2661869f848bb2691d3c37d9dc409d561 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
parented2146d23509356c08dab4a7f14ae8eb9e492319 (diff)
downloadllvm-0d7e83bbc49373504cc634d9208422102c15d575.zip
llvm-0d7e83bbc49373504cc634d9208422102c15d575.tar.gz
llvm-0d7e83bbc49373504cc634d9208422102c15d575.tar.bz2
[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/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions