[docs] Fix build-docs.sh
[llvm-project.git] / compiler-rt / test / dfsan / origin_untainted.c
blobda508cf0a0a6171c27974d805ff087b1e9ea4ebd
1 // RUN: %clang_dfsan -gmlt -mllvm -dfsan-track-origins=1 %s -o %t && \
2 // RUN: %run %t >%t.out 2>&1
3 // RUN: FileCheck %s < %t.out
4 //
5 // REQUIRES: x86_64-target-arch
7 #include <sanitizer/dfsan_interface.h>
9 int main(int argc, char *argv[]) {
10 uint64_t a = 10;
11 dfsan_print_origin_trace(&a, NULL);
14 // CHECK: DFSan: no tainted value at {{.*}}