[all-commits] [llvm/llvm-project] 6ae71f: [libc] (Begin to) implement ptrace for linux (#201...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Thu Jun 4 23:05:07 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6ae71f321933ff629755ca61978a276a6e816827
https://github.com/llvm/llvm-project/commit/6ae71f321933ff629755ca61978a276a6e816827
Author: Pavel Labath <pavel at labath.sk>
Date: 2026-06-05 (Fri, 05 Jun 2026)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/aarch64/headers.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/arm/headers.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/riscv/headers.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/linux/x86_64/headers.txt
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/CMakeLists.txt
A libc/include/llvm-libc-macros/sys-ptrace-macros.h
A libc/include/sys/ptrace.yaml
M libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
A libc/src/__support/OSUtil/linux/syscall_wrappers/ptrace.h
M libc/src/sys/CMakeLists.txt
A libc/src/sys/ptrace/CMakeLists.txt
A libc/src/sys/ptrace/linux/CMakeLists.txt
A libc/src/sys/ptrace/linux/ptrace.cpp
A libc/src/sys/ptrace/ptrace.h
M libc/test/integration/src/sys/CMakeLists.txt
A libc/test/integration/src/sys/ptrace/CMakeLists.txt
A libc/test/integration/src/sys/ptrace/linux/CMakeLists.txt
A libc/test/integration/src/sys/ptrace/linux/ptrace_test.cpp
Log Message:
-----------
[libc] (Begin to) implement ptrace for linux (#201601)
This function is more complicated than your average syscall wrapper,
which is why this PR is mainly about setting up the infrastructure. I've
made this an experimental entry point, as the only request it handles is
PTRACE_TRACEME.
I also added a test to verify the PTRACE_TRACEME behavior. It's an
integration test as anything ptrace-y requires two processes.
Assisted by Gemini.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list