[PATCH] D33152: [PowerPC] Fix test case sem_init_glibc.cc for powerpc64be

Hiroshi Inoue via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 06:47:53 PDT 2017


inouehrs added inline comments.


================
Comment at: test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc:12
+// On powerpc64be semval_t must be 64 bits even with "old" versions of glibc.
+#if __PPC64__ && __BIG_ENDIAN__
+typedef uint64_t semval_t;
----------------
Is there any difference between `__PPC64__` and `defined(__powerpc64__)` used below (and also in altivec.h etc)?


https://reviews.llvm.org/D33152





More information about the llvm-commits mailing list