[clang] 3eb2be6 - Unbreak no-asserts testing

David Zarzycki via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 29 07:19:23 PDT 2021


Author: David Zarzycki
Date: 2021-04-29T10:01:37-04:00
New Revision: 3eb2be67b997ea62f47dbe90a62e828ecfb266a8

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

LOG: Unbreak no-asserts testing

Added: 
    

Modified: 
    clang/test/Driver/debug-pass-structure.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/debug-pass-structure.c b/clang/test/Driver/debug-pass-structure.c
index 7e1d748ad847..30283249f412 100644
--- a/clang/test/Driver/debug-pass-structure.c
+++ b/clang/test/Driver/debug-pass-structure.c
@@ -1,6 +1,7 @@
 // Test that we print pass structure with new and legacy PM.
 // RUN: %clang -fexperimental-new-pass-manager -fdebug-pass-structure -O3 -S -emit-llvm %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=NEWPM
 // RUN: %clang -flegacy-pass-manager -fdebug-pass-structure -O0 -S -emit-llvm %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=LEGACYPM
+// REQUIRES: asserts
 
 // NEWPM: Annotation2MetadataPass on [module]
 // NEWPM-NEXT: ForceFunctionAttrsPass on [module]


        


More information about the cfe-commits mailing list