[Lldb-commits] [PATCH] D18697: Fix a bug in linux core file handling
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 1 09:06:34 PDT 2016
labath created this revision.
labath added reviewers: clayborg, zturner.
labath added a subscriber: lldb-commits.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5806 bytes
Desc: not available
More information about the lldb-commits