diff options
author | Michał Górny <mgorny@moritz.systems> | 2021-05-05 13:06:55 +0200 |
---|---|---|
committer | Michał Górny <mgorny@moritz.systems> | 2021-05-12 11:51:37 +0200 |
commit | 71e66da04cf15cf47045b5d1482803197a24a75d (patch) | |
tree | 6d1affa034af05dfe2dc268e6659fa06b341c018 /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | b6c0edb9792c1a216961aefb63783ab4b986e823 (diff) | |
download | llvm-71e66da04cf15cf47045b5d1482803197a24a75d.zip llvm-71e66da04cf15cf47045b5d1482803197a24a75d.tar.gz llvm-71e66da04cf15cf47045b5d1482803197a24a75d.tar.bz2 |
[Process/elf-core] Read PID from FreeBSD prpsinfo
Add a function to read NT_PRPSINFO note from FreeBSD core dumps. This
is necessary to get the process ID (NT_PRSTATUS has only thread ID).
Move the lp64 check from NT_PRSTATUS parsing to the parseFreeBSDNotes()
to avoid repeating it.
Differential Revision: https://reviews.llvm.org/D101893
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions