[Lldb-commits] [PATCH] D18176: Fix thread/process ID reading from linux core files

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 15 03:37:11 PDT 2016


labath created this revision.
labath added a reviewer: zturner.
labath added a subscriber: lldb-commits.

This also adds a basic smoke test for linux core file reading. I'm checking in the core files as
well, so that the tests can run on all platforms. With some tricks I was able to produce
reasonably-sized core files (~40K).

This fixes the first part of pr26322.

http://reviews.llvm.org/D18176

Files:
  packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py
  packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/i386.core
  packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/i386.out
  packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/main.c
  packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/make-core.sh
  packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/x86_64.core
  packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/x86_64.out
  source/Plugins/Process/elf-core/ProcessElfCore.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18176.50709.patch
Type: text/x-patch
Size: 4979 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160315/eb293b55/attachment-0001.bin>


More information about the lldb-commits mailing list