[compiler-rt] d059d01 - [dfsan] Remove realloc from done_abilist.txt
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue May 5 22:33:00 PDT 2020
Author: Vitaly Buka
Date: 2020-05-05T22:32:45-07:00
New Revision: d059d01c23e4006bcc78088277052607e2de1b45
URL: https://github.com/llvm/llvm-project/commit/d059d01c23e4006bcc78088277052607e2de1b45
DIFF: https://github.com/llvm/llvm-project/commit/d059d01c23e4006bcc78088277052607e2de1b45.diff
LOG: [dfsan] Remove realloc from done_abilist.txt
Summary:
Currently, realloc is marked as "discard" in done_abilist.txt. As discussed in PR#45583, this is probably not the expected behavior; a custom wrapper seems to be required. Since this wrapper has not been implemented yet, realloc should not be in the done_abilist.txt file so that a warning is displayed when it is called.
Reviewers: kcc, pcc, vitalybuka
Reviewed By: vitalybuka
Subscribers: #sanitizers
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D78379
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 f8c88dd3201b..52f3ff5ef239 100644
--- a/compiler-rt/lib/dfsan/done_abilist.txt
+++ b/compiler-rt/lib/dfsan/done_abilist.txt
@@ -33,7 +33,6 @@ fun:dfsan_flush=discard
# glibc
###############################################################################
fun:malloc=discard
-fun:realloc=discard
fun:free=discard
# Functions that return a value that depends on the input, but the output might
More information about the llvm-commits
mailing list