1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools
Lang Hames c0cf59d6e5 [ORC] Refactor OrcRemoteTarget code to expose its RPC API, reduce
code duplication in the client, and improve error propagation.

This patch moves the OrcRemoteTarget rpc::Function declarations from
OrcRemoteTargetRPCAPI into their own namespaces under llvm::orc::remote so that
they can be used in new contexts (in particular, a remote-object-file adapter
layer that I will commit shortly).

Code duplication in OrcRemoteTargetClient (especially in loops processing the
code, rw-data and ro-data allocations) is removed by moving the loop bodies
into their own functions.

Error propagation is (slightly) improved by adding an ErrorReporter functor to
the OrcRemoteTargetClient -- Errors that can't be returned (because they occur
in destructors, or behind stable APIs that don't provide error returns) can be
sent to the ErrorReporter instead. Some methods in the Client API are also
changed to make better use of the Expected class: returning Expected<T>s rather
than returning Errors and taking T&s to store the results.

llvm-svn: 312500
2017-09-04 20:54:46 +00:00
..
bugpoint Fix check-llvm on kernel 4.9+ with asan or msan 2017-09-01 01:47:34 +00:00
bugpoint-passes
dsymutil [dsymutil] Don't mark forward declarations as canonical. 2017-08-31 20:22:31 +00:00
gold [gold-plugin] Use more StringRef. No functionality change intended. 2017-08-10 19:28:00 +00:00
llc Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00
lli [ORC] Refactor OrcRemoteTarget code to expose its RPC API, reduce 2017-09-04 20:54:46 +00:00
llvm-ar Simplify writeArchive return type. 2017-08-30 22:11:03 +00:00
llvm-as
llvm-as-fuzzer cmake: Invent add_llvm_fuzzer to set up fuzzer targets 2017-08-31 00:36:33 +00:00
llvm-bcanalyzer Bitcode: Include any strings added to the string table in the module hash. 2017-07-06 17:56:01 +00:00
llvm-c-test fix typos in comments and error messges; NFC 2017-07-13 06:48:39 +00:00
llvm-cat
llvm-config [GlobalISel] Make GlobalISel a non-optional library. 2017-08-03 21:52:25 +00:00
llvm-cov [llvm-cov] Read in function names for filtering from a text file. 2017-08-31 09:11:31 +00:00
llvm-cvtres Revert "Revert "Revert "Revert "Switch external cvtres.exe for llvm's own resource library."""" 2017-07-08 03:06:10 +00:00
llvm-cxxdump
llvm-cxxfilt
llvm-diff
llvm-dis [ThinLTO] Fix ThinLTO crash while destroying context 2017-08-15 22:23:44 +00:00
llvm-dwarfdump [llvm-dwarfdump] Brief mode only dumps debug_info by default 2017-08-31 16:44:47 +00:00
llvm-dwp [llvm-dwp] Implement -e option 2017-09-02 08:19:01 +00:00
llvm-extract
llvm-go
llvm-isel-fuzzer Move some CLI utils out of llvm-isel-fuzzer and into the library 2017-09-02 23:43:04 +00:00
llvm-jitlistener
llvm-link
llvm-lto Fix dangling StringRefs found by clang-tidy misc-dangling-handle check. 2017-07-04 15:13:02 +00:00
llvm-lto2 Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00
llvm-mc Don't pass the code model to MC 2017-08-02 20:32:26 +00:00
llvm-mc-assemble-fuzzer cmake: Invent add_llvm_fuzzer to set up fuzzer targets 2017-08-31 00:36:33 +00:00
llvm-mc-disassemble-fuzzer cmake: Invent add_llvm_fuzzer to set up fuzzer targets 2017-08-31 00:36:33 +00:00
llvm-mcmarkup
llvm-modextract
llvm-mt llvm-mt: Merge manifest namespaces. 2017-08-19 00:37:41 +00:00
llvm-nm [llvm-nm] Fix output formatting of -f sysv for 64bit targets 2017-08-31 21:23:44 +00:00
llvm-objcopy Reland "[llvm] Add symbol table support to llvm-objcopy" 2017-08-29 02:12:03 +00:00
llvm-objdump Untabify. 2017-08-28 06:47:47 +00:00
llvm-opt-report
llvm-pdbutil [llvm-pdbutil] Remove unused variables. 2017-09-02 00:09:43 +00:00
llvm-profdata [ProfileData] Add new option to dump topn hottest functions 2017-07-11 20:30:43 +00:00
llvm-rc [llvm-rc] Fix DIALOG(EX) parsing ability (parser, pt 5/8). 2017-08-29 20:03:18 +00:00
llvm-readobj [WebAssembly] Update relocation names to match spec 2017-09-01 17:32:01 +00:00
llvm-rtdyld Use delegation instead of inheritance. 2017-07-19 22:27:28 +00:00
llvm-shlib [Solaris] enable --whole-archive for shared-library build, disable --version-script for Solaris-ld 2017-07-19 16:07:51 +00:00
llvm-size
llvm-split
llvm-stress [Analysis] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. Also affected in files (NFC). 2017-08-31 21:56:16 +00:00
llvm-strings
llvm-symbolizer DebugInfo: Provide option for explicitly specifying the name of the DWP file 2017-07-30 01:34:08 +00:00
llvm-xray Revert "[XRay][tools] Function call stack based analysis tooling for XRay traces" 2017-09-03 00:40:13 +00:00
lto
msbuild
obj2yaml Use delegation instead of inheritance. 2017-07-19 22:27:28 +00:00
opt [Analysis] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. Also affected in files (NFC). 2017-08-31 21:56:16 +00:00
opt-viewer [opt-viewer] Listify dict_items for Py3 indexing 2017-08-14 04:16:43 +00:00
sancov
sanstats [sanstats] Print the correct line information. 2017-07-13 00:49:03 +00:00
verify-uselistorder
xcode-toolchain
yaml2obj [WebAssembly] Update relocation names to match spec 2017-09-01 17:32:01 +00:00
CMakeLists.txt
LLVMBuild.txt Reland "[LLVM][llvm-objcopy] Added basic plumbing to get things started" 2017-08-01 00:33:58 +00:00