Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Instrumentation/AddressSanitizer/experiment-call.ll
; Test optimization experiments. | ; Test optimization experiments. | ||||
; -asan-force-experiment flag turns all memory accesses into experiments. | ; -asan-force-experiment flag turns all memory accesses into experiments. | ||||
; RUN: opt < %s -asan -asan-module -asan-force-experiment=42 -asan-instrumentation-with-call-threshold=0 -S | FileCheck %s | ; RUN: %opt_asan < %s -asan -asan-module -asan-force-experiment=42 -asan-instrumentation-with-call-threshold=0 -S | FileCheck %s | ||||
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" | 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" | ||||
target triple = "x86_64-unknown-linux-gnu" | target triple = "x86_64-unknown-linux-gnu" | ||||
define void @load1(i8* %p) sanitize_address { | define void @load1(i8* %p) sanitize_address { | ||||
entry: | entry: | ||||
%t = load i8, i8* %p, align 1 | %t = load i8, i8* %p, align 1 | ||||
ret void | ret void | ||||
; CHECK-LABEL: define void @load1 | ; CHECK-LABEL: define void @load1 | ||||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |