[all-commits] [llvm/llvm-project] 0f91ec: [builtins] Canonicalize PowerPC detection macros t...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Nov 6 17:34:18 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0f91ec243d6ddb1f8b1f80d15f9003e5f06b0a21
https://github.com/llvm/llvm-project/commit/0f91ec243d6ddb1f8b1f80d15f9003e5f06b0a21
Author: Fangrui Song <i at maskray.me>
Date: 2022-11-06 (Sun, 06 Nov 2022)
Changed paths:
M compiler-rt/lib/builtins/apple_versioning.c
M compiler-rt/lib/builtins/trampoline_setup.c
Log Message:
-----------
[builtins] Canonicalize PowerPC detection macros to __powerpc__
The lowercase __ppc__ is not defined by Linux GCC, therefore it lures
users to write code which is not portable to GCC. Migrate to __powerpc__ in
preparation for undefining __ppc__. __powerpc__ is much more common than
__PPC__.
More information about the All-commits
mailing list