llvm-capstone/lldb
Jonas Devlieghere de346cf2ac [lldb] Redesign Target::GetUtilityFunctionForLanguage API
This patch redesigns the Target::GetUtilityFunctionForLanguage API:

 - Use a unique_ptr instead of a raw pointer for the return type.
 - Wrap the result in an llvm::Expected instead of using a Status object as an I/O parameter.
 - Combine the action of "getting" and "installing" the UtilityFunction as they always get called together.
 - Pass std::strings instead of const char* and std::move them where appropriate.

There's more room for improvement but I think this tackles the most
prevalent issues with the current API.

Differential revision: https://reviews.llvm.org/D90011
2020-10-23 10:00:23 -07:00
..
bindings Add an SB API to get the SBTarget from an SBBreakpoint 2020-10-15 14:28:44 -07:00
cmake Fix "Unknown arguments specified" to if in lldb 2020-10-21 07:24:53 -07:00
docs [lldb] Add a page to the docs with (external) links on how to use LLDB 2020-10-20 11:43:31 -07:00
examples [lldb/examples] Add missing declaration in heap.py 2020-09-24 08:44:45 -07:00
include/lldb [lldb] Redesign Target::GetUtilityFunctionForLanguage API 2020-10-23 10:00:23 -07:00
packages/Python Revert "[lldb] Explicitly use the configuration architecture when building test executables" 2020-10-22 18:42:19 +02:00
resources
scripts [LLDB] Add QEMU testing environment setup guide for SVE testing 2020-10-06 12:35:08 +05:00
source [lldb] Redesign Target::GetUtilityFunctionForLanguage API 2020-10-23 10:00:23 -07:00
test [lldb] Fix a regression introduced by D75730 2020-10-22 08:38:03 -07:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools [lldb] Fix windows build for fa5fa63fd1 2020-10-21 17:51:11 +02:00
unittests [lldb/DWARF] Add support for DW_OP_implicit_value 2020-10-22 18:02:44 +02:00
utils [lldb] Hoist -s (trace directory) argument out of LLDB_TEST_COMMON_ARGS (NFC) 2020-09-29 17:23:33 -07:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [lldb] Enable cmake policy CMP0077 for option() 2020-10-17 00:16:24 -07:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT
use_lldb_suite_root.py