[lldb] [libc] [libcxx] [clang-tools-extra] [compiler-rt] [llvm] [mlir] [clang] [lld] [flang] Don't emit relax relocs like R_X86_64_REX_GOTPCRELX on X86 target for OPENMP internal vars. (PR #75564)

via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 18 20:55:25 PST 2023


UmeshKalappa0 wrote:

> Scattering around `setDSOLocal(false)` makes the logic hard to understand. I'd strongly prefer to fix the initial setting of dso_local when we create the global variable. We can refactor the code to make that work.

@efriedma-quic  ,thank you for the suggestions and was not sure about adding dso_local for openmp weak linkage vars ,but from the weak semantics point ,its ok to add the dso_local for no-pic /no-pie code  ,so updated changes accordingly .

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


More information about the cfe-commits mailing list