Update debug info test case for an incoming change to DIBuilder in LLVM
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 21 Mar 2013 22:28:46 +0000 (22:28 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 21 Mar 2013 22:28:46 +0000 (22:28 +0000)
(this will produce some transient test failure/skew)

llvm-svn: 177673

clang/test/CodeGenCXX/2010-07-23-DeclLoc.cpp

index ca5199e..f5a11dd 100644 (file)
@@ -1,9 +1,9 @@
 // RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s
 // Require the template function declaration refer to the correct filename.
 // First, locate the function decl in metadata, and pluck out the file handle:
-// CHECK: {{extract_dwarf_data_from_header.*extract_dwarf_data_from_header.*extract_dwarf_data_from_header.*[^ ]+", metadata !}}[[filehandle:[0-9]+]],
+// CHECK: metadata [[filehandle:![0-9]+]], {{.*extract_dwarf_data_from_header.*extract_dwarf_data_from_header.*extract_dwarf_data_from_header.*[^ ]+", }}
 // Second: Require that filehandle refer to the correct filename:
-// CHECK: {{^!}}[[filehandle]] = {{.*}} [ DW_TAG_file_type ] [{{.*}}/decl_should_be_here.hpp]
+// CHECK: [[filehandle]] = {{.*}} [ DW_TAG_file_type ] [{{.*}}/decl_should_be_here.hpp]
 typedef long unsigned int __darwin_size_t;
 typedef __darwin_size_t size_t;
 typedef unsigned char uint8_t;