aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorjeremyd2019 <github@jdrake.com>2025-05-02 00:58:14 -0700
committerGitHub <noreply@github.com>2025-05-02 10:58:14 +0300
commitf66f2fe0e5be6dc6eb3ef4d42af8692f9adcdc80 (patch)
treef6727538d5ce4eb6f0ffe8464fd353140c75b2dd /lldb/source/Commands/CommandObjectProcess.cpp
parenta8ec6e8788832cff77ec855a2331438c937fb5da (diff)
downloadllvm-f66f2fe0e5be6dc6eb3ef4d42af8692f9adcdc80.zip
llvm-f66f2fe0e5be6dc6eb3ef4d42af8692f9adcdc80.tar.gz
llvm-f66f2fe0e5be6dc6eb3ef4d42af8692f9adcdc80.tar.bz2
[LLD][COFF] add __{data,bss}_{start,end}__ symbols for Cygwin support (#136180)
Cygwin requires these symbols for its fork emulation to know what data to copy into the child. GNU ld defines these symbols for MinGW targets also, so do the same here. Cygwin also has the `.data_cygwin_nocopy` section, which is merged into `.data` outside the `__data_start__` to `__data_end__` range. This excludes it from fork's copying. AFAIK it's only used by the Cygwin DLL itself (which requires a custom linker script to link, that's not supported by LLD), but the section is included in GNU ld's default linker script so handle it here too. Signed-off-by: Jeremy Drake <github@jdrake.com>
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions