aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorJez Ng <jezng@fb.com>2020-03-31 11:45:47 -0700
committerShoaib Meenai <smeenai@fb.com>2020-03-31 11:58:47 -0700
commit03f43b3aca363e16c45d8733400fd0083b1af4d8 (patch)
tree1e9333eba9f8622a8f89bb61b5838507fba8ab99 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent6d20937c29a1a1d67fc5e8caf8538b4aa5614505 (diff)
downloadllvm-03f43b3aca363e16c45d8733400fd0083b1af4d8.zip
llvm-03f43b3aca363e16c45d8733400fd0083b1af4d8.tar.gz
llvm-03f43b3aca363e16c45d8733400fd0083b1af4d8.tar.bz2
[lld] Initial commit for new Mach-O backend
Summary: This is the first commit for the new Mach-O backend, designed to roughly follow the architecture of the existing ELF and COFF backends, and building off work that @ruiu and @pcc did in a branch a while back. Note that this is a very stripped-down commit with the bare minimum of functionality for ease of review. We'll be following up with more diffs soon. Currently, we're able to generate a simple "Hello World!" executable that runs on OS X Catalina (and possibly on earlier OS X versions; I haven't tested them). (This executable can be obtained by compiling `test/MachO/relocations.s`.) We're mocking out a few load commands to achieve this -- for example, we can't load dynamic libraries, but Catalina requires binaries to be linked against `dyld`, so we hardcode the emission of a `LC_LOAD_DYLIB` command. Other mocked out load commands include LC_SYMTAB and LC_DYSYMTAB. Differential Revision: https://reviews.llvm.org/D75382
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions