From: Evgeniy Stepanov Date: Thu, 29 Nov 2012 13:11:09 +0000 (+0000) Subject: [msan] Add a test for r168873. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=323c3acf5139da4e1f59763c9ec224df2cf40ee2;p=oota-llvm.git [msan] Add a test for r168873. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168877 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.