r360943 - Fix PCC test failures for source location builtins
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Thu May 16 14:51:40 PDT 2019
Author: ericwf
Date: Thu May 16 14:51:39 2019
New Revision: 360943
URL: http://llvm.org/viewvc/llvm-project?rev=360943&view=rev
Log:
Fix PCC test failures for source location builtins
Modified:
cfe/trunk/test/CodeGenCXX/builtin-source-location.cpp
cfe/trunk/test/CodeGenCXX/builtin_LINE.cpp
cfe/trunk/test/CodeGenCXX/debug-info-line.cpp
Modified: cfe/trunk/test/CodeGenCXX/builtin-source-location.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/builtin-source-location.cpp?rev=360943&r1=360942&r2=360943&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/builtin-source-location.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/builtin-source-location.cpp Thu May 16 14:51:39 2019
@@ -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"
Modified: cfe/trunk/test/CodeGenCXX/builtin_LINE.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/builtin_LINE.cpp?rev=360943&r1=360942&r2=360943&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/builtin_LINE.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/builtin_LINE.cpp Thu May 16 14:51:39 2019
@@ -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;
Modified: cfe/trunk/test/CodeGenCXX/debug-info-line.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-line.cpp?rev=360943&r1=360942&r2=360943&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-line.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info-line.cpp Thu May 16 14:51:39 2019
@@ -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();
}
More information about the cfe-commits
mailing list