Xiangling_L created this revision.
Xiangling_L added reviewers: daltenty, jasonliu, stevewan,
hubert.reinterpretcast.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Xiangling_L requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D84880
Files:
clang/unittests/CodeGen/IncrementalProcessingTest.cpp
Index: clang/unittests/CodeGen/IncrementalProcessingTest.cpp
===================================================================
--- clang/unittests/CodeGen/IncrementalProcessingTest.cpp
+++ clang/unittests/CodeGen/IncrementalProcessingTest.cpp
@@ -159,6 +159,11 @@
// First code should not end up in second module:
ASSERT_FALSE(M[2]->getFunction("funcForProg1"));
+ // TODO: Remove this after the static initialization frontend
implementation
+ // is recovered on AIX.
+ if (compiler.getTarget().getTriple().isOSAIX())
+ return;
+
// Make sure global inits exist and are unique:
const Function* GlobalInit1 = getGlobalInit(*M[1]);
ASSERT_TRUE(GlobalInit1);
Index: clang/unittests/CodeGen/IncrementalProcessingTest.cpp
===================================================================
--- clang/unittests/CodeGen/IncrementalProcessingTest.cpp
+++ clang/unittests/CodeGen/IncrementalProcessingTest.cpp
@@ -159,6 +159,11 @@
// First code should not end up in second module:
ASSERT_FALSE(M[2]->getFunction("funcForProg1"));
+ // TODO: Remove this after the static initialization frontend implementation
+ // is recovered on AIX.
+ if (compiler.getTarget().getTriple().isOSAIX())
+ return;
+
// Make sure global inits exist and are unique:
const Function* GlobalInit1 = getGlobalInit(*M[1]);
ASSERT_TRUE(GlobalInit1);
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits