mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-11 10:06:06 +00:00

TestAttachDenied tries to attach to a process that is ptracing itself and verifies that we error out. Starting with macOS Mojave, processes need an entitlement to be able to ptrace. This commit adds the entitlement for the test binary when building on Darwin. llvm-svn: 337029