[dragonegg] r219614 - dragonegg/test/validator/c++: Update a couple of testcases corresponding to LLVM r219010.
NAKAMURA Takumi
geek4civic at gmail.com
Mon Oct 13 06:19:57 PDT 2014
Author: chapuni
Date: Mon Oct 13 08:19:57 2014
New Revision: 219614
URL: http://llvm.org/viewvc/llvm-project?rev=219614&view=rev
Log:
dragonegg/test/validator/c++: Update a couple of testcases corresponding to LLVM r219010.
Modified:
dragonegg/trunk/test/validator/c++/2006-11-20-GlobalSymbols.cpp
dragonegg/trunk/test/validator/c++/2010-07-23-DeclLoc.cpp
Modified: dragonegg/trunk/test/validator/c++/2006-11-20-GlobalSymbols.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/test/validator/c%2B%2B/2006-11-20-GlobalSymbols.cpp?rev=219614&r1=219613&r2=219614&view=diff
==============================================================================
--- dragonegg/trunk/test/validator/c++/2006-11-20-GlobalSymbols.cpp (original)
+++ dragonegg/trunk/test/validator/c++/2006-11-20-GlobalSymbols.cpp Mon Oct 13 08:19:57 2014
@@ -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");
Modified: dragonegg/trunk/test/validator/c++/2010-07-23-DeclLoc.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/test/validator/c%2B%2B/2010-07-23-DeclLoc.cpp?rev=219614&r1=219613&r2=219614&view=diff
==============================================================================
--- dragonegg/trunk/test/validator/c++/2010-07-23-DeclLoc.cpp (original)
+++ dragonegg/trunk/test/validator/c++/2010-07-23-DeclLoc.cpp Mon Oct 13 08:19:57 2014
@@ -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;
More information about the llvm-commits
mailing list