[compiler-rt] [compiler-rt] Implement address sanitizer on AIX (3/3) (PR #130028)
Hubert Tong via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 8 18:45:32 PST 2025
================
@@ -274,6 +280,8 @@ class LLVMSymbolizerProcess final : public SymbolizerProcess {
const char* const kSymbolizerArch = "--default-arch=arm64";
#elif defined(__arm__)
const char* const kSymbolizerArch = "--default-arch=arm";
+#elif defined(__powerpc__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+ const char* const kSymbolizerArch = "--default-arch=powerpc";
----------------
hubert-reinterpretcast wrote:
This is incorrect. `__powerpc__` is also set when `__powerpc64__` is set. This change prevents reaching the `--default-arch=powerpc64` case.
https://github.com/llvm/llvm-project/pull/130028
More information about the llvm-commits
mailing list