]> granicus.if.org Git - clang/commitdiff
Fix PCC test failures for source location builtins
authorEric Fiselier <eric@efcs.ca>
Thu, 16 May 2019 21:51:39 +0000 (21:51 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 16 May 2019 21:51:39 +0000 (21:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360943 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/builtin-source-location.cpp
test/CodeGenCXX/builtin_LINE.cpp
test/CodeGenCXX/debug-info-line.cpp

index 4b72a7a9bde9f3ae5f5267b52142bb31125da85a..6a8387093dfec60d721e3eab6dfe9d6cdb7574b5 100644 (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"
 
index 806c2111f321f5212fca892a2eef6a16b2f176f8..138ff602e48a07ad05e3bfa28995e0dc9473106a 100644 (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;
index e68df3a5491029d92fe86b9c66129fe770980024..951359df540316dea5683700aee6048ab72855ce 100644 (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();
 }