[all-commits] [llvm/llvm-project] 41a0e8: [PowerPC] Drop stdlib paths in freestanding tests

zhihaoy via All-commits all-commits at lists.llvm.org
Sat Dec 4 14:51:41 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41a0e850fa30acf2ffd1c4ffda335f07ea0c249b
  Author: Zhihao Yuan <zhihao.yuan at broadcom.com>
  Date:   2021-12-04 (Sat, 04 Dec 2021)

  Changed paths:
    M clang/test/CodeGen/ppc-xmmintrin.c

  Log Message:
  [PowerPC] Drop stdlib paths in freestanding tests

When targeting FreeBSD on a Linux host with a copy
of system libc++, Clang prepends /usr/include/c++/v1
to the search paths even with -ffreestanding, and
fails to compile a program with a
single #include <xmmintrin.h>

Dropping the path with -nostdlibinc.

Differential Revision: https://reviews.llvm.org/D114497

More information about the All-commits mailing list