[compiler-rt] 9875273 - [DFSAN] Add support for _tolower

Andrew Browne via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 13:48:55 PDT 2023


Author: Tomasz Kuchta
Date: 2023-06-22T20:48:14Z
New Revision: 9875273ad264c42e124244daa3209df30048ceaf

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

LOG: [DFSAN] Add support for _tolower

I noticed that in some cases _tolower shows as uninstrumented - I've added it as "functional" in the done_abilist.txt file

Reviewed by: browneee

Differential Revision: https://reviews.llvm.org/D153410

Added: 
    

Modified: 
    compiler-rt/lib/dfsan/done_abilist.txt

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/dfsan/done_abilist.txt b/compiler-rt/lib/dfsan/done_abilist.txt
index df5eedcafeb86..3820ff79309af 100644
--- a/compiler-rt/lib/dfsan/done_abilist.txt
+++ b/compiler-rt/lib/dfsan/done_abilist.txt
@@ -88,6 +88,7 @@ fun:isalnum=functional
 fun:ispunct=functional
 fun:isspace=functional
 fun:tolower=functional
+fun:_tolower=functional
 fun:toupper=functional
 
 # Functions that return a value that is data-dependent on the input.


        


More information about the llvm-commits mailing list