[lld] 948d053 - [LTO][ELF] Require asserts for --stats-file= tests.

henry wong via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 17 08:57:23 PDT 2022


Author: henry wong
Date: 2022-03-17T23:57:13+08:00
New Revision: 948d05324a150a5a24e93bad07c9090d5b8bd129

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

LOG: [LTO][ELF] Require asserts for --stats-file= tests.

https://reviews.llvm.org/D121809 causes the build bot failure, add the `REQUIRES: asserts` to fix it.

Reviewed By: tejohnson

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

Added: 
    

Modified: 
    lld/test/ELF/lto/stats-file-option.ll

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/lto/stats-file-option.ll b/lld/test/ELF/lto/stats-file-option.ll
index fe39001ab192d..36bb4a30c7f02 100644
--- a/lld/test/ELF/lto/stats-file-option.ll
+++ b/lld/test/ELF/lto/stats-file-option.ll
@@ -1,3 +1,5 @@
+; REQUIRES: asserts
+
 ; RUN: llvm-as -o %t.bc %s
 
 ;; Try to save statistics to file.


        


More information about the llvm-commits mailing list