brintos

brintos / llvm-project-archived public Read only

0
0
Text · 652 B · bff9baf Raw
23 lines · plain
1; RUN: opt < %s -passes=dfsan -dfsan-abilist=%S/Inputs/abilist.txt -S | FileCheck %s2target triple = "x86_64-unknown-linux-gnu"3 4define internal i8 @uninstrumented_internal_fun(i8 %in) {5  ret i8 %in6}7 8define i8 @call_uninstrumented_internal_fun(i8 %in) {9  %call = call i8 @uninstrumented_internal_fun(i8 %in)10  ret i8 %call11}12; CHECK: define internal i8 @"dfsw$uninstrumented_internal_fun"13 14define private i8 @uninstrumented_private_fun(i8 %in) {15  ret i8 %in16}17 18define i8 @call_uninstrumented_private_fun(i8 %in) {19  %call = call i8 @uninstrumented_private_fun(i8 %in)20  ret i8 %call21}22; CHECK: define private i8 @"dfsw$uninstrumented_private_fun"23