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