diff options
author | Pavel Labath <labath@google.com> | 2016-04-05 13:07:16 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-04-05 13:07:16 +0000 |
commit | a933d5179e411f40059a3711c9a09559b4acb62d (patch) | |
tree | 7851360ca4a039c85f9bd15e6636c218fa815398 /lldb/packages/Python/lldbsuite/test/functionalities/tsan/basic/TestTsanBasic.py | |
parent | d9d41f531ef63ecf14472df29c68d8113284f051 (diff) | |
download | bcm5719-llvm-a933d5179e411f40059a3711c9a09559b4acb62d.tar.gz bcm5719-llvm-a933d5179e411f40059a3711c9a09559b4acb62d.zip |
Fix a bug in linux core file handling
Summary:
There was a bug in linux core file handling, where if there was a running process with the same
process id as the id in the core file, the core file debugging would fail, as we would pull some
pieces of information (ProcessInfo structure) from the running process instead of the core file.
I fix this by routing the ProcessInfo requests through the Process class and overriding it in
ProcessElfCore to return correct data.
A (slightly convoluted) test is included.
Reviewers: clayborg, zturner
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D18697
llvm-svn: 265391
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/tsan/basic/TestTsanBasic.py')
0 files changed, 0 insertions, 0 deletions