brintos

brintos / llvm-project-archived public Read only

0
0
Text · 292 B · 89913d1 Raw
10 lines · plain
1; Check HWASan shadow mapping on Fuchsia.2; RUN: opt -passes=hwasan -S -mtriple=aarch64-unknown-fuchsia < %s | FileCheck %s3 4define i32 @test_load(ptr %a) sanitize_hwaddress {5; CHECK: %.hwasan.shadow = call ptr asm "", "=r,0"(ptr null)6entry:7  %x = load i32, ptr %a, align 48  ret i32 %x9}10