r177676 - Update debug info test case for more incoming DIBuilder changes

David Blaikie dblaikie at gmail.com
Thu Mar 21 16:07:48 PDT 2013


Author: dblaikie
Date: Thu Mar 21 18:07:47 2013
New Revision: 177676

URL: http://llvm.org/viewvc/llvm-project?rev=177676&view=rev
Log:
Update debug info test case for more incoming DIBuilder changes

Switching the DIFile field in DISubprogram to refer to the raw
filename/directory pair instead of a DIFile.

Modified:
    cfe/trunk/test/CodeGenCXX/2010-07-23-DeclLoc.cpp

Modified: cfe/trunk/test/CodeGenCXX/2010-07-23-DeclLoc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/2010-07-23-DeclLoc.cpp?rev=177676&r1=177675&r2=177676&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/2010-07-23-DeclLoc.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/2010-07-23-DeclLoc.cpp Thu Mar 21 18:07:47 2013
@@ -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: metadata [[filehandle:![0-9]+]], {{.*extract_dwarf_data_from_header.*extract_dwarf_data_from_header.*extract_dwarf_data_from_header.*[^ ]+", }}
+// 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]] = {{.*}}decl_should_be_here.hpp"
 typedef long unsigned int __darwin_size_t;
 typedef __darwin_size_t size_t;
 typedef unsigned char uint8_t;





More information about the cfe-commits mailing list