brintos

brintos / llvm-project-archived public Read only

0
0
Text · 431 B · 74f85b5 Raw
16 lines · plain
1; RUN: opt < %s -passes=asan -S -mtriple=x86_64-scei-ps4 | FileCheck %s2; RUN: opt < %s -passes=asan -S -mtriple=x86_64-sie-ps5 | FileCheck %s3 4define i32 @read_4_bytes(ptr %a) sanitize_address {5entry:6  %tmp1 = load i32, ptr %a, align 47  ret i32 %tmp18}9 10; CHECK: @read_4_bytes11; CHECK-NOT: ret12; Check for ASAN's Offset on the PS4/PS5 (2^40 or 0x10000000000)13; CHECK: lshr {{.*}} 314; CHECK-NEXT: {{1099511627776}}15; CHECK: ret16