Differential D39775 Diff 123274 llvm/trunk/test/Instrumentation/AddressSanitizer/instrument-stack.ll
Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/test/Instrumentation/AddressSanitizer/instrument-stack.ll
; This test checks that we are not instrumenting direct inbound stack accesses. | ; This test checks that we are not instrumenting direct inbound stack accesses. | ||||
; RUN: opt < %s -asan -asan-module -asan-opt-stack -S | FileCheck %s | ; RUN: opt < %s -asan -asan-module -asan-opt-stack -S | FileCheck %s | ||||
; RUN: opt < %s -asan -asan-module -asan-opt-stack -asan-mapping-scale=5 -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-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" | ||||
;@sink = global i32* null, align 4 | ;@sink = global i32* null, align 4 | ||||
; Ignore direct inbounds stack access. | ; Ignore direct inbounds stack access. | ||||
define void @foo() uwtable sanitize_address { | define void @foo() uwtable sanitize_address { | ||||
Show All 38 Lines |