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

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
  • [Lldb-commits] ... John Paul Adrian Glaubitz via Phabricator via lldb-commits
    • [Lldb-comm... John Paul Adrian Glaubitz via Phabricator via lldb-commits
    • [Lldb-comm... Pavel Labath via Phabricator via lldb-commits
    • [Lldb-comm... Sylvestre Ledru via Phabricator via lldb-commits

Reply via email to