[clang] d3e75d3 - Revert "[CodeGen] Fixes sanitizer test"

Atmn Patel via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 6 21:32:26 PST 2020


Author: Atmn Patel
Date: 2020-11-07T00:32:12-05:00
New Revision: d3e75d31e3c831d00277518caee80b15b72666a8

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

LOG: Revert "[CodeGen] Fixes sanitizer test"

This reverts commit b1878b4641e06baa754ce6e3e0387b1e7d7dc143. This does
fix the test but it means that ac73b73c1652 is not implemented
correctly. Reverting for now, and will be reverting the commit that
causes this to fail.

Added: 
    

Modified: 
    clang/test/CodeGen/sanitizer-module-constructor.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/sanitizer-module-constructor.c b/clang/test/CodeGen/sanitizer-module-constructor.c
index ee4c4f7e1019..3e29a923a9f1 100644
--- a/clang/test/CodeGen/sanitizer-module-constructor.c
+++ b/clang/test/CodeGen/sanitizer-module-constructor.c
@@ -11,7 +11,7 @@ struct a {
 int d;
 b e;
 static void f(b g) {
-  for (d = g->c; 1 ;)
+  for (d = g->c;;)
     ;
 }
 void h() { f(e); }


        


More information about the cfe-commits mailing list