https://github.com/yota9 requested changes to this pull request. Probably the test supposed to be non-pie. And it seems that more proper fix probably would be -no-pie https://github.com/llvm/llvm-project/pull/74420