mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 12:36:07 +00:00

For some reasons, we are using `-fpie` (libc/cmake/modules/LLVMLibCObjectRules.cmake:31) without supporting it. According to @lntue, some of the hermetic tests are broken without proper PIE support. This patch implements basic relocations support for PIE.