
On Power PC some legacy compilers included a number of builtins in a builtins.h header file. While this header file is not required to hold builtins for clang some legacy code does try to include this file and so this patch provides an empty version of that file. Differential Revision: https://reviews.llvm.org/D106065
9 lines
311 B
C
9 lines
311 B
C
// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -ffreestanding -emit-llvm -o - %s | FileCheck %s
|
|
// RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -ffreestanding -emit-llvm -o - %s | FileCheck %s
|
|
|
|
#include <builtins.h>
|
|
|
|
// Verify that we can include <builtins.h>
|
|
|
|
// CHECK: target triple = "powerpc64
|