Fix PCC test failures for source location builtins

llvm-svn: 360943
This commit is contained in:
Eric Fiselier 2019-05-16 21:51:39 +00:00
parent e3cbdaf1b5
commit b42c73de3d
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
// RUN: %clang_cc1 -std=c++2a -fblocks %s -triple %itanium_abi_triple -emit-llvm -o %t.ll
// RUN: %clang_cc1 -std=c++2a -fblocks %s -triple x86_64-unknown-unknown -emit-llvm -o %t.ll
#line 8 "builtin-source-location.cpp"

View File

@ -1,4 +1,4 @@
// RUN: %clang_cc1 -std=c++1z -fblocks %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -std=c++1z -fblocks %s -triple x86_64-unknown-unknown -emit-llvm -o - | FileCheck %s
extern "C" int sink;
extern "C" const volatile void* volatile ptr_sink = nullptr;

View File

@ -296,7 +296,7 @@ void f24() {
// CHECK-LABEL: define
void f25_a(int x = __builtin_LINE()) {}
void f25() {
// CHECK: call void @_Z5f25_ai(i32 2700)
// CHECK: call void @_Z5f25_ai(i32 {{(signext )?}}2700)
#line 2700
f25_a();
}