[compiler-rt] [ASan] Disable test that sets call stack on Darwin (PR #170786)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 5 09:36:30 PST 2025


boomanaiden154 wrote:

> fwiw I also have the test failure using the lit internal shell but this program works and shows the limits correctly:

Yeah, looks like in my case the example I copied and pasted from the cpython thread used `RLIMIT_AS` instead of `RLIMIT_STACK`. Switching to `RLIMIT_STACK` there fixes the problem. Either way, this does seem like a bug in cpython. I would expect that running
```
python3 -c "import resource; resource.setrlimit(resource.RLIMIT_STACK, resource.getrlimit(resource.RLIMIT_STACK))"
```

would still fail for you. More investigation is needed, and I'll file a bug with upstream python assuming it reproduces with Python 3.14. I will land this patch though to unblock enabling the internal shell by default.

https://github.com/llvm/llvm-project/pull/170786


More information about the llvm-commits mailing list