summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/linux
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2016-06-27 23:21:49 +0000
committerTodd Fiala <todd.fiala@gmail.com>2016-06-27 23:21:49 +0000
commit3d2c1e6a7c13536f9481cc844e116510f85f6205 (patch)
treef56f6532a4125e6b1d441cabfa99ccc914ad4b6c /lldb/packages/Python/lldbsuite/test/linux
parent97ca82776d1c0f244ff442fc9d9aeaee194fccbe (diff)
downloadbcm5719-llvm-3d2c1e6a7c13536f9481cc844e116510f85f6205.tar.gz
bcm5719-llvm-3d2c1e6a7c13536f9481cc844e116510f85f6205.zip
fix invalid assumption about the executable module in Target::Install()
Target::Install() was assuming the module at index 0 was the executable. This is often true, but not guaranteed to be the case. The TestInferiorChanged.py test highlighted this when run against iOS. After the binary is replaced in the middle of the test, it becomes the last module in the list. The rest of the Target::Install() logic then clobbers the executable file by using whatever happens to be the first module in the target module list. This change also marks the TestInferiorChanged.py test as a no-debug-info test. llvm-svn: 273960
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/linux')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud