Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Instrumentation/AddressSanitizer/ShadowScale3/lifetime.ll
- This file was moved from llvm/test/Instrumentation/AddressSanitizer/lifetime.ll.
; Test handling of llvm.lifetime intrinsics. | ; Test handling of llvm.lifetime intrinsics. | ||||
; RUN: opt < %s -asan -asan-module -asan-use-after-scope -asan-use-after-return=0 -S | FileCheck %s --check-prefixes=CHECK,CHECK-DEFAULT | ; RUN: %opt_asan < %s -asan -asan-module -asan-use-after-scope -asan-use-after-return=0 -S | FileCheck %s --check-prefixes=CHECK,CHECK-DEFAULT | ||||
; RUN: opt < %s -asan -asan-module -asan-use-after-scope -asan-use-after-return=0 -asan-instrument-dynamic-allocas=0 -S | FileCheck %s --check-prefixes=CHECK,CHECK-NO-DYNAMIC | ; RUN: %opt_asan < %s -asan -asan-module -asan-use-after-scope -asan-use-after-return=0 -asan-instrument-dynamic-allocas=0 -S | FileCheck %s --check-prefixes=CHECK,CHECK-NO-DYNAMIC | ||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" | target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" | ||||
target triple = "x86_64-unknown-linux-gnu" | target triple = "x86_64-unknown-linux-gnu" | ||||
declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) nounwind | declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) nounwind | ||||
declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) nounwind | declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) nounwind | ||||
define void @lifetime_no_size() sanitize_address { | define void @lifetime_no_size() sanitize_address { | ||||
▲ Show 20 Lines • Show All 175 Lines • Show Last 20 Lines |