summaryrefslogtreecommitdiffstats
path: root/llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll')
-rw-r--r--llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll b/llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
index 508657a5976..428a7d735c5 100644
--- a/llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
+++ b/llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
@@ -1,6 +1,7 @@
; Test that coverage instrumentation does not lose debug location.
; RUN: opt < %s -sancov -sanitizer-coverage-level=2 -S | FileCheck %s
+; RUN: opt < %s -passes='module(sancov-module),function(sancov-func)' -sanitizer-coverage-level=2 -S | FileCheck %s
; C++ source:
; 1: void foo(int *a) {
OpenPOWER on IntegriCloud