From 323c3acf5139da4e1f59763c9ec224df2cf40ee2 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Thu, 29 Nov 2012 13:11:09 +0000 Subject: [PATCH] [msan] Add a test for r168873. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168877 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Instrumentation/MemorySanitizer/msan_basic.ll | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Instrumentation/MemorySanitizer/msan_basic.ll b/test/Instrumentation/MemorySanitizer/msan_basic.ll index 74d9670d594..37d4abc0860 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. -- 2.34.1