JDevlieghere wrote:

> @felipepiovezan Hopefully this should fix the problem in the macOS tests 
> ([#137512 
> (comment)](https://github.com/llvm/llvm-project/pull/137512#issuecomment-2846104161))
>  though I don't know how to trigger these tests from the PR :|

Unfortunately there's no pre-commit testing for Darwin. I applied your patch 
locally and ran the test suite and the test is still failing because `strip` on 
Darwin doesn't have a `--keep-symbol` flag. I think you'lll want to use the 
`-s` flag which allows you to specify a file with symbols to "save" (keep):

```
       -s filename
              Save the symbol table entries for the global symbols listed in 
filename.  The symbol names listed in filename must be one per line. Leading 
and trailing white space are not part of the symbol name.  Lines starting with 
# are ignored, as are lines with only white space.
```

https://github.com/llvm/llvm-project/pull/138416
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to