Differential D39775 Diff 123274 llvm/trunk/test/Instrumentation/AddressSanitizer/instrument_global.ll
Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/test/Instrumentation/AddressSanitizer/instrument_global.ll
; RUN: opt < %s -asan -asan-module -asan-globals-live-support=1 -S | FileCheck %s | ; RUN: opt < %s -asan -asan-module -asan-globals-live-support=1 -S | FileCheck %s | ||||
; RUN: opt < %s -asan -asan-module -asan-globals-live-support=1 -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" | 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" | ||||
@xxx = global i32 0, align 4 | @xxx = global i32 0, align 4 | ||||
; If a global is present, __asan_[un]register_globals should be called from | ; If a global is present, __asan_[un]register_globals should be called from | ||||
; module ctor/dtor | ; module ctor/dtor | ||||
; CHECK: @__asan_gen_ = private constant [8 x i8] c"<stdin>\00", align 1 | ; CHECK: @__asan_gen_ = private constant [8 x i8] c"<stdin>\00", align 1 | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |