[compiler-rt] 57a532b - [dfsan] Do not check dfsan_get_origin by check_custom_wrappers.sh

Jianzhou Zhao via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 15 11:56:31 PDT 2021


Author: Jianzhou Zhao
Date: 2021-03-15T18:55:34Z
New Revision: 57a532b3acc2868355fe9e5b1f5f828e8fa1f179

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

LOG: [dfsan] Do not check dfsan_get_origin by check_custom_wrappers.sh

It is implemented like dfsan_get_label, and does not any code
in dfsan_custome.cpp.

Added: 
    

Modified: 
    compiler-rt/lib/dfsan/scripts/check_custom_wrappers.sh

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/dfsan/scripts/check_custom_wrappers.sh b/compiler-rt/lib/dfsan/scripts/check_custom_wrappers.sh
index 135027ece6e2..041e2dce4763 100755
--- a/compiler-rt/lib/dfsan/scripts/check_custom_wrappers.sh
+++ b/compiler-rt/lib/dfsan/scripts/check_custom_wrappers.sh
@@ -20,7 +20,7 @@ on_exit() {
 # Ignore __sanitizer_cov_trace* because they are implemented elsewhere.
 trap on_exit EXIT
 grep -E "^fun:.*=custom" ${DFSAN_ABI_LIST} \
-  | grep -v "dfsan_get_label\|__sanitizer_cov_trace" \
+  | grep -v "dfsan_get_label\|dfsan_get_origin\|__sanitizer_cov_trace" \
   | sed "s/^fun:\(.*\)=custom.*/\1/" | sort > $DIFF_A
 grep -E "__dfsw.*\(" ${DFSAN_CUSTOM_WRAPPERS} \
   | grep -v "__sanitizer_cov_trace" \


        


More information about the llvm-commits mailing list