summaryrefslogtreecommitdiff
path: root/test/Instrumentation
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2012-11-29 13:11:09 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2012-11-29 13:11:09 +0000
commit323c3acf5139da4e1f59763c9ec224df2cf40ee2 (patch)
treeda899cf7c6578f6304cd712b94e402658d8bc6de /test/Instrumentation
parent2e815e7cf4f31c53ad64059192e70828d476680e (diff)
downloadllvm-323c3acf5139da4e1f59763c9ec224df2cf40ee2.tar.gz
llvm-323c3acf5139da4e1f59763c9ec224df2cf40ee2.tar.bz2
llvm-323c3acf5139da4e1f59763c9ec224df2cf40ee2.tar.xz
[msan] Add a test for r168873.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Instrumentation')
-rw-r--r--test/Instrumentation/MemorySanitizer/msan_basic.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Instrumentation/MemorySanitizer/msan_basic.ll b/test/Instrumentation/MemorySanitizer/msan_basic.ll
index 74d9670d59..37d4abc086 100644
--- a/test/Instrumentation/MemorySanitizer/msan_basic.ll
+++ b/test/Instrumentation/MemorySanitizer/msan_basic.ll
@@ -25,6 +25,8 @@ declare void @foo(...)
; CHECK: = load
; CHECK: = load
; CHECK: call void @__msan_warning_noreturn()
+; CHECK-NEXT: call void asm sideeffect
+; CHECK-NEXT: unreachable
; CHECK: }
; Check that we store the shadow for the retval.