[PATCH] D156955: [OpenMP] Fix the linkage for kernel environment global variable

Shilei Tian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 17:32:59 PDT 2023


tianshilei1992 added a comment.

In D156955#4555952 <https://reviews.llvm.org/D156955#4555952>, @jhuber6 wrote:

> Assuming this is truly `weak_odr`, i.e. single definition that gets a symbol in the ELF.

Our previous `_exec_mode` is actually `WeakAnyLinkage`, which could potentially lead to mismatch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156955/new/

https://reviews.llvm.org/D156955



More information about the llvm-commits mailing list