diff options
Diffstat (limited to 'devel/llvm11/files/lldb')
-rw-r--r-- | devel/llvm11/files/lldb/patch-head-r332965.diff | 22 | ||||
-rw-r--r-- | devel/llvm11/files/lldb/patch-tools_lldb_docs_conf.py | 15 |
2 files changed, 37 insertions, 0 deletions
diff --git a/devel/llvm11/files/lldb/patch-head-r332965.diff b/devel/llvm11/files/lldb/patch-head-r332965.diff new file mode 100644 index 000000000000..30bc0253447c --- /dev/null +++ b/devel/llvm11/files/lldb/patch-head-r332965.diff @@ -0,0 +1,22 @@ +r332965 | emaste | 2018-04-24 21:26:58 +0200 (Tue, 24 Apr 2018) | 8 lines + +lldb: remove assertion that target_arch is FreeBSD + +The target is not necessarily a FreeBSD binary - for example, it may be +a Linux binary running under the linuxulator. Basic ptrace (live) +debugging already worked in this case, except for the assertion. + +Sponsored by: Turing Robotic Industries Inc. + +Index: tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp +=================================================================== +--- tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp (revision 332964) ++++ tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp (revision 332965) +@@ -169,7 +169,6 @@ lldb::RegisterContextSP FreeBSDThread::GetRegister + RegisterInfoInterface *reg_interface = nullptr; + const ArchSpec &target_arch = GetProcess()->GetTarget().GetArchitecture(); + +- assert(target_arch.GetTriple().getOS() == llvm::Triple::FreeBSD); + switch (target_arch.GetMachine()) { + case llvm::Triple::aarch64: + reg_interface = new RegisterInfoPOSIX_arm64(target_arch); diff --git a/devel/llvm11/files/lldb/patch-tools_lldb_docs_conf.py b/devel/llvm11/files/lldb/patch-tools_lldb_docs_conf.py new file mode 100644 index 000000000000..6fd373c5e775 --- /dev/null +++ b/devel/llvm11/files/lldb/patch-tools_lldb_docs_conf.py @@ -0,0 +1,15 @@ +--- tools/lldb/docs/conf.py.orig ++++ tools/lldb/docs/conf.py +@@ -97,9 +97,9 @@ + # Theme options are theme-specific and customize the look and feel of a theme + # further. For a list of options available for each theme, see the + # documentation. +-html_theme_options = { +- 'font_size': '11pt' +-} ++#html_theme_options = { ++# 'font_size': '11pt' ++#} + + # Add any paths that contain custom themes here, relative to this directory. + #html_theme_path = [] |