r371277 - Fix thunks.cpp test, don't FileCheck for anon namespace id

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 6 17:41:08 PDT 2019


Author: rnk
Date: Fri Sep  6 17:41:08 2019
New Revision: 371277

URL: http://llvm.org/viewvc/llvm-project?rev=371277&view=rev
Log:
Fix thunks.cpp test, don't FileCheck for anon namespace id

The anon namespace id is a hash of the main input path to the compiler,
which varies in the test suite because the input path is absolute.

Modified:
    cfe/trunk/test/CodeGenCXX/thunks.cpp

Modified: cfe/trunk/test/CodeGenCXX/thunks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/thunks.cpp?rev=371277&r1=371276&r2=371277&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/thunks.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/thunks.cpp Fri Sep  6 17:41:08 2019
@@ -148,7 +148,7 @@ namespace Test4B {
   }
 }
 // Not sure why this isn't delayed like in Itanium.
-// WIN64-LABEL: define internal void @"?f at C@?A0xAEF74CE7 at Test4B@@UEAAXXZ"(
+// WIN64-LABEL: define internal void @"?f at C@?A{{.*}}@Test4B@@UEAAXXZ"(
 
 namespace Test5 {
 




More information about the cfe-commits mailing list