[Openmp-commits] [PATCH] D88252: z_Linux_asm.S modifications for arm64 (AARCH64) for Darwin/macOS

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Nov 24 06:44:51 PST 2020


AndreyChurbanov added inline comments.


================
Comment at: openmp/runtime/src/z_Linux_asm.S:1744
     .align 8
-    .global __kmp_unnamed_critical_addr
-__kmp_unnamed_critical_addr:
+    .global KMP_PREFIX_UNDERSCORE(__kmp_unnamed_critical_addr)
+KMP_PREFIX_UNDERSCORE(__kmp_unnamed_critical_addr):
----------------
kaz7 wrote:
> I guess several architecture like KMP_ARCH_PPC64, KMP_ARCH_MIPS64, and KMP_ARCH_RISCV64 doesn't have KMP_PREFIX_UNDERSCORE definition here.  I may be wrong, though.  I'm working on VE architecture which is not merged yet.  It shows compile error here after this patch.
I've submitted https://reviews.llvm.org/D92027 with attempt to fix your problem.
Could you please check if it works for you.

Thanks, Andrey


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88252



More information about the Openmp-commits mailing list