summaryrefslogtreecommitdiff
path: root/dragonegg
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-10-13 13:19:57 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-10-13 13:19:57 +0000
commitd5b5f57a0238b6b7229d4f35d76f9cc8e0bd3fae (patch)
tree97ea14d9a859f7c71c460297b363f19b46d8795b /dragonegg
parent5b7e960930643a7b783f7ad48bce94cddb33594c (diff)
dragonegg/test/validator/c++: Update a couple of testcases corresponding to LLVM r219010.
Diffstat (limited to 'dragonegg')
-rw-r--r--dragonegg/test/validator/c++/2006-11-20-GlobalSymbols.cpp2
-rw-r--r--dragonegg/test/validator/c++/2010-07-23-DeclLoc.cpp2
2 files changed, 2 insertions, 2 deletions
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;