[PATCH] D154357: [Driver] Recognize powerpc-unknown-eabi as a bare-metal toolchain
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 20 12:34:33 PDT 2023
MaskRay added inline comments.
================
Comment at: clang/test/Driver/baremetal.cpp:348
+// RUN: %clang %s -### --target=powerpc-unknown-eabi 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-PPCEABI %s
----------------
MaskRay wrote:
> Without a sysroot, we may pick up powerpc-unknown-eabi-gcc (if installed) and the paths below may be incorrect.
I managed to notice an issue. See the commit message of the follow-up fix: eddc4850d81f4c9f79d0b17869d67eac8ca88070 (really obscure, I forgot it...)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154357/new/
https://reviews.llvm.org/D154357
More information about the cfe-commits
mailing list