]> granicus.if.org Git - llvm/commitdiff
Require asserts in new test that uses debug flag
authorTeresa Johnson <tejohnson@google.com>
Sat, 15 Jul 2017 05:27:57 +0000 (05:27 +0000)
committerTeresa Johnson <tejohnson@google.com>
Sat, 15 Jul 2017 05:27:57 +0000 (05:27 +0000)
This should fix bot failures from r308078.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308079 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/FunctionImport/funcimport_resolved.ll

index a6cef7cd2608e5bd2cce4c2d17f5aa8a7dcb2de4..a37cd53c933bc8a1d4f9ea4e132ea94cbc50148a 100644 (file)
@@ -9,6 +9,9 @@
 ; The linkonce_odr may have different instruction counts in practice due to
 ; different inlines in the compile step.
 
+; Require asserts so we can use -debug-only
+; REQUIRES: asserts
+
 ; RUN: opt -module-summary %s -o %t.bc
 ; RUN: opt -module-summary %p/Inputs/funcimport_resolved1.ll -o %t2.bc
 ; RUN: opt -module-summary %p/Inputs/funcimport_resolved2.ll -o %t3.bc