summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-06-23 04:33:42 +0000
committerRui Ueyama <ruiu@google.com>2016-06-23 04:33:42 +0000
commit809d8e2d4183cce389516ca977bfc223e806395d (patch)
tree22d423e243fdb4b6d9f4563231f40152eb792e04 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent17b45390db2c6b2799246b73a58c79bdefd9180d (diff)
Fix a bug that MIPS thunks can overwrite other section contents.
Peter Smith found while trying to support thunk creation for ARM that LLD sometimes creates broken thunks for MIPS. The cause of the bug is that we assign file offsets to input sections too early. We need to create all sections and then assign section offsets because appending thunks changes file offsets for all following sections. This patch separates the pass to assign file offsets from thunk creation pass. This effectively reverts r265673. Differential Revision: http://reviews.llvm.org/D21598 llvm-svn: 273532
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions