summaryrefslogtreecommitdiff
path: root/test/Instrumentation
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-02-15 12:46:06 +0000
committerKostya Serebryany <kcc@google.com>2013-02-15 12:46:06 +0000
commit74ecd214e267c9b24d824a6403d2f89aff1a7697 (patch)
tree32d382f723382fb11f2abfa717eeb13338d7a155 /test/Instrumentation
parent74b3c8da4800c7e8ba8f019879db29738ecc5f74 (diff)
downloadllvm-74ecd214e267c9b24d824a6403d2f89aff1a7697.tar.gz
llvm-74ecd214e267c9b24d824a6403d2f89aff1a7697.tar.bz2
llvm-74ecd214e267c9b24d824a6403d2f89aff1a7697.tar.xz
[asan] support long double on 64-bit. See https://code.google.com/p/address-sanitizer/issues/detail?id=151
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Instrumentation')
-rw-r--r--test/Instrumentation/AddressSanitizer/basic.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Instrumentation/AddressSanitizer/basic.ll b/test/Instrumentation/AddressSanitizer/basic.ll
index bcea2ce645..746caf704b 100644
--- a/test/Instrumentation/AddressSanitizer/basic.ll
+++ b/test/Instrumentation/AddressSanitizer/basic.ll
@@ -89,3 +89,12 @@ entry:
; CHECK-NOT: = alloca
; CHECK: ret void
+define void @LongDoubleTest(x86_fp80* nocapture %a) nounwind uwtable address_safety {
+entry:
+ store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %a, align 16
+ ret void
+}
+
+; CHECK: LongDoubleTest
+; CHECK: __asan_report_store16
+; CHECK: ret void