[Bug 36694] New: LLDB compile error on s390x: "

Bug ID 36694
Summary LLDB compile error on s390x: "
Product lldb
Version 6.0
Hardware Other
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter vivkong@ca.ibm.com
CC llvm-bugs@lists.llvm.org

Hit the following compile error on master:

lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp:449:10:
error: incomplete type 'lldb_private::process_linux::NativeProcessLinux' named
in nested name specifier
  return NativeProcessLinux::PtraceWrapper(PTRACE_PEEKUSR_AREA,
         ^~~~~~~~~~~~~~~~~~~~

NativeRegisterContextLinux_s390x.cpp is missing an include file
(Plugins/Process/Linux/NativeProcessLinux.h) due to this commit:
[https://reviews.llvm.org/rL317881](https://reviews.llvm.org/rL317881)

Adding the include resolves the error.

labath@google.com changed bug 36694

What Removed Added
Status NEW RESOLVED
CC labath@google.com
Resolution FIXED

Comment # 1 on bug 36694 from labath@google.com

(Hopefully) fixed by r327379. Note, I have no way of verifying this builds, so
if things are still broken after this, please come with a patch.