1 // RUN: %clang_esan_frag -O0 %s -o %t 2>&1 2 // RUN: %env_esan_opts="verbosity=1 log_exe_name=1" %run %t 2>&1 | FileCheck %s 3 4 int main(int argc, char **argv) { 5 // CHECK: in esan::initializeLibrary 6 // (There can be a re-exec for stack limit here.) 7 // CHECK: Shadow scale=2 offset=0x440000000000 8 // CHECK-NEXT: Shadow #0: [110000000000-114000000000) (256GB) 9 // CHECK-NEXT: Shadow #1: [124000000000-12c000000000) (512GB) 10 // CHECK-NEXT: Shadow #2: [148000000000-150000000000) (512GB) 11 // CHECK-NEXT: in esan::finalizeLibrary 12 // CHECK-NEXT: ==verbose-simple{{.*}}EfficiencySanitizer: total struct field access count = 0 13 return 0; 14 } 15