[clang] 4e6176f - [AIX] Temporarily disable IncrementalProcessingTest partially

Xiangling Liao via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 30 07:42:31 PDT 2020


Author: Xiangling Liao
Date: 2020-07-30T10:41:52-04:00
New Revision: 4e6176fd912a68de0764fff43a129a73f5cab800

URL: https://github.com/llvm/llvm-project/commit/4e6176fd912a68de0764fff43a129a73f5cab800
DIFF: https://github.com/llvm/llvm-project/commit/4e6176fd912a68de0764fff43a129a73f5cab800.diff

LOG: [AIX] Temporarily disable IncrementalProcessingTest partially

Temporarily disable IncrementalProcessingTest partially until the static
initialization implementation on AIX is recovered.

Differential Revision: https://reviews.llvm.org/D84880

Added: 
    

Modified: 
    clang/unittests/CodeGen/IncrementalProcessingTest.cpp

Removed: 
    


################################################################################
diff  --git a/clang/unittests/CodeGen/IncrementalProcessingTest.cpp b/clang/unittests/CodeGen/IncrementalProcessingTest.cpp
index 045ed9bbc760..d1d921bb03c6 100644
--- a/clang/unittests/CodeGen/IncrementalProcessingTest.cpp
+++ b/clang/unittests/CodeGen/IncrementalProcessingTest.cpp
@@ -159,6 +159,11 @@ TEST(IncrementalProcessing, EmitCXXGlobalInitFunc) {
     // 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);


        


More information about the cfe-commits mailing list