summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
diff options
context:
space:
mode:
authorKeno Fischer <kfischer@college.harvard.edu>2016-01-12 13:38:15 +0000
committerKeno Fischer <kfischer@college.harvard.edu>2016-01-12 13:38:15 +0000
commit00021429d4b89d2f1d8833ea8cc4688107ab5262 (patch)
treec96607ce270a7e77fca8d5ec4689bdcf9edb7fc0 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
parentfed110f646069e3bb59c695a542c3289a29f85ea (diff)
downloadbcm5719-llvm-00021429d4b89d2f1d8833ea8cc4688107ab5262.tar.gz
bcm5719-llvm-00021429d4b89d2f1d8833ea8cc4688107ab5262.zip
[ARM] Fix several state persistence bugs
Summary: This fixes three bugs, in all of which state is not or incorrecly reset between objects (i.e. when reusing the same pass manager to create multiple object files): 1) AttributeSection needs to be reset to nullptr, because otherwise the backend will try to emit into the old object file's attribute section causing a segmentation fault. 2) MappingSymbolCounter needs to be reset, otherwise the second object file will start where the first one left off. 3) The MCStreamer base class resets the Streamer's e_flags settings. Since EF_ARM_EABI_VER5 is set on streamer creation, we need to set it again after the MCStreamer was rest. Also rename Reset (uppser case) to EHReset to avoid confusion with reset (lower case). Reviewers: rengolin Differential Revision: http://reviews.llvm.org/D15950 llvm-svn: 257473
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud