From eac29c855f7d6bf119d651190e7cbab5f7cb31a1 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 9 May 2013 22:11:34 +0000 Subject: [PATCH] Fix some test cases I broke in r181552 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181554 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/debug-info-template.cpp | 6 +++--- test/CodeGenCXX/debug-info.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/CodeGenCXX/debug-info-template.cpp b/test/CodeGenCXX/debug-info-template.cpp index f68810b268..38a99cf4c6 100644 --- a/test/CodeGenCXX/debug-info-template.cpp +++ b/test/CodeGenCXX/debug-info-template.cpp @@ -1,6 +1,5 @@ -// RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s +// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s -// CHECK: [[INT:![0-9]*]] = {{.*}} ; [ DW_TAG_base_type ] [int] // CHECK: metadata [[TCI:![0-9]*]], i32 0, i32 1, %class.TC* @tci, null} ; [ DW_TAG_variable ] [tci] // CHECK: [[TC:![0-9]*]] = {{.*}}, metadata [[TCARGS:![0-9]*]]} ; [ DW_TAG_class_type ] [TC] // CHECK: [[TCARGS]] = metadata !{metadata [[TCARG1:![0-9]*]], metadata [[TCARG2:![0-9]*]]} @@ -8,7 +7,8 @@ // We seem to be missing file/line/col info on template value parameters - // metadata supports it but it's not populated. // -// CHECK: [[TCARG1]] = {{.*}}metadata !"T", metadata [[INT]], {{.*}} ; [ DW_TAG_template_type_parameter ] +// CHECK: [[TCARG1]] = {{.*}}metadata !"T", metadata [[INT:![0-9]*]], {{.*}} ; [ DW_TAG_template_type_parameter ] +// CHECK: [[INT]] = {{.*}} ; [ DW_TAG_base_type ] [int] // CHECK: [[TCARG2]] = {{.*}}metadata !"", metadata [[UINT:![0-9]*]], i64 2, {{.*}} ; [ DW_TAG_template_value_parameter ] // CHECK: [[UINT]] = {{.*}} ; [ DW_TAG_base_type ] [unsigned int] diff --git a/test/CodeGenCXX/debug-info.cpp b/test/CodeGenCXX/debug-info.cpp index d691f97e59..b16c564e73 100644 --- a/test/CodeGenCXX/debug-info.cpp +++ b/test/CodeGenCXX/debug-info.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm-only -g %s -o - | FileCheck %s +// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s template struct Identity { typedef T Type; }; -- 2.40.0