1 // RUN: %clang_dfsan -gmlt %s -o %t && %run %t >%t.out 2>&1 2 // RUN: FileCheck %s < %t.out 3 // 4 // REQUIRES: x86_64-target-arch 5 6 #include <sanitizer/dfsan_interface.h> 7 main(int argc,char * argv[])8int main(int argc, char *argv[]) { 9 uint64_t a = 10; 10 dfsan_set_label(8, &a, sizeof(a)); 11 dfsan_print_origin_trace(&a, NULL); 12 } 13 14 // CHECK: DFSan: origin tracking is not enabled. Did you specify the -dfsan-track-origins=1 option? 15