[PATCH] D154357: [Driver] Recognize powerpc-unknown-eabi as a bare-metal toolchain

Christian Walther via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 21 00:05:18 PDT 2023


cwalther 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:
> 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...)
I see. Thanks for the fix!


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