[llvm] fbc1f48 - [dfsan] Turn on testing origin tracking at atomics.ll

Jianzhou Zhao via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 19 10:54:03 PDT 2021


Author: Jianzhou Zhao
Date: 2021-03-19T17:53:13Z
New Revision: fbc1f48daf1b8945516c0f8d16af24fc3c5d6f62

URL: https://github.com/llvm/llvm-project/commit/fbc1f48daf1b8945516c0f8d16af24fc3c5d6f62
DIFF: https://github.com/llvm/llvm-project/commit/fbc1f48daf1b8945516c0f8d16af24fc3c5d6f62.diff

LOG: [dfsan] Turn on testing origin tracking at atomics.ll

Added: 
    

Modified: 
    llvm/test/Instrumentation/DataFlowSanitizer/atomics.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Instrumentation/DataFlowSanitizer/atomics.ll b/llvm/test/Instrumentation/DataFlowSanitizer/atomics.ll
index c917774b4506..0075170410fe 100644
--- a/llvm/test/Instrumentation/DataFlowSanitizer/atomics.ll
+++ b/llvm/test/Instrumentation/DataFlowSanitizer/atomics.ll
@@ -1,7 +1,7 @@
 ; RUN: opt < %s -dfsan -dfsan-fast-16-labels=true -S | FileCheck %s --check-prefixes=CHECK,CHECK16
 ; RUN: opt < %s -dfsan -dfsan-fast-8-labels=true -S | FileCheck %s --check-prefixes=CHECK
-;
-; The patterns about origins cannot be tested until the origin tracking feature is complete.
+; RUN: opt < %s -dfsan -dfsan-track-origins=1 -dfsan-fast-16-labels=true -S | FileCheck %s --check-prefixes=CHECK,CHECK16,CHECK_ORIGIN
+; RUN: opt < %s -dfsan -dfsan-track-origins=1 -dfsan-fast-16-labels=true -dfsan-instrument-with-call-threshold=0 -S | FileCheck %s --check-prefixes=CHECK,CHECK16,CHECK_ORIGIN
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 


        


More information about the llvm-commits mailing list