1f4a2713aSLionel Sambuc// RUN: rm -rf %t 2f4a2713aSLionel Sambuc// RUN: mkdir %t 3f4a2713aSLionel Sambuc// RUN: %clang_cc1 -x objective-c-header -emit-pch %S/Inputs/pch-used.h -o %t/pch-used.h.pch -fmodules -fmodules-cache-path=%t/cache -O0 -isystem %S/Inputs/System/usr/include 4f4a2713aSLionel Sambuc// RUN: %clang_cc1 %s -include-pch %t/pch-used.h.pch -fmodules -fmodules-cache-path=%t/cache -O0 -isystem %S/Inputs/System/usr/include -emit-llvm -o - | FileCheck %s 5f4a2713aSLionel Sambuc 6f4a2713aSLionel Sambucvoid f() { SPXTrace(); } 7*0a6a1f1dSLionel Sambucvoid g() { double x = DBL_MAX; } 8f4a2713aSLionel Sambuc 9f4a2713aSLionel Sambuc// CHECK: define internal void @SPXTrace 10