[Bug 24548] New: Build fails on unsupported archs for Native Thread

Bug ID 24548
Summary Build fails on unsupported archs for Native Thread
Product lldb
Version 3.7
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter sylvestre@debian.org
CC llvm-bugs@lists.llvm.org
Classification Unclassified

On s390x, lldb fails to build with:
error: 'NativeRegisterContextLinux' has not been declared

Full log:

Instead of failure, we should disable the feature on unsupported arch.

labath@google.com changed bug 24548

What | Removed | Added |

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

I am unsure what is the "feature" you want disabled. NativeThreadLinux is an
essential component of lldb and without it you will not be able to debug any
local process. So it sounds to me like you can disable all of lldb (by not
checking it out in the first place).

In theory we might try to disable local debugging and leave you with an lldb
capable of remote debugging, but I am unsure how useful would that be..

What is it that you are trying to achieve here?