[Lldb-commits] [PATCH] D102872: Fix lldb-server build failure on mips

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 18 00:47:41 PDT 2021


labath added a comment.

This will create an lldb-server that crashes as soon as it tries to debug something. Maybe it would be better to disable the binary completely (in cmake) for unsupported architectures instead?



================
Comment at: lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp:27
+std::unique_ptr<NativeRegisterContextLinux>
+NativeRegisterContextLinux::CreateHostNativeRegisterContextLinux(
+	                               const ArchSpec &target_arch,
----------------
This will cause multiple definition errors for architectures that do define this function.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102872/new/

https://reviews.llvm.org/D102872



More information about the lldb-commits mailing list