From d5b5f57a0238b6b7229d4f35d76f9cc8e0bd3fae Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 13 Oct 2014 13:19:57 +0000 Subject: dragonegg/test/validator/c++: Update a couple of testcases corresponding to LLVM r219010. --- dragonegg/test/validator/c++/2006-11-20-GlobalSymbols.cpp | 2 +- dragonegg/test/validator/c++/2010-07-23-DeclLoc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'dragonegg') diff --git a/dragonegg/test/validator/c++/2006-11-20-GlobalSymbols.cpp b/dragonegg/test/validator/c++/2006-11-20-GlobalSymbols.cpp index 818f740418e..bf81357fd89 100644 --- a/dragonegg/test/validator/c++/2006-11-20-GlobalSymbols.cpp +++ b/dragonegg/test/validator/c++/2006-11-20-GlobalSymbols.cpp @@ -4,7 +4,7 @@ // functions. // CHECK: @"\01f\01oo" = unnamed_addr global i32 0 -// CHECK: metadata !"foo"{{.*}} @"\01f\01oo", +// CHECK: metadata !{metadata !"0x34\00foo\00foo\00\01f\01oo\009\000\001", metadata !6, metadata !6, metadata !9, i32* @"\01f\01oo", null} int foo __asm__("f\001oo"); diff --git a/dragonegg/test/validator/c++/2010-07-23-DeclLoc.cpp b/dragonegg/test/validator/c++/2010-07-23-DeclLoc.cpp index 61cf4a7f21a..33373b7cef3 100644 --- a/dragonegg/test/validator/c++/2010-07-23-DeclLoc.cpp +++ b/dragonegg/test/validator/c++/2010-07-23-DeclLoc.cpp @@ -1,7 +1,7 @@ // RUN: %dragonegg -S -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 !{i32 {{[^,]*}}, metadata ![[filedata:[0-9]+]],{{.*extract_dwarf_data_from_header.*extract_dwarf_data_from_header.*extract_dwarf_data_from_header}} +// CHECK: = metadata !{metadata !"0x2e\00extract_dwarf_data_from_header{{[^"]*}}", metadata ![[filedata:[0-9]+]], // Second: Require that filetag refers to metadata holding the correct filename: // CHECK: {{^!}}[[filedata]] = metadata !{metadata !"decl_should_be_here.hpp", typedef long unsigned int __darwin_size_t; -- cgit v1.2.3