[dfsan] Treat vararg custom functions like unimplemented functions.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 20 Aug 2014 01:40:23 +0000 (01:40 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 20 Aug 2014 01:40:23 +0000 (01:40 +0000)
commitb3b125aafc6c677b56a224f1ccee67c233f59b66
tree09fb01af59023a680374d82e6bdb287bb9a3657b
parent3ef392c4e2710c7f1709090d12e5e351fd4c69e1
[dfsan] Treat vararg custom functions like unimplemented functions.

Because declarations of these functions can appear in places like autoconf
checks, they have to be handled somehow, even though we do not support
vararg custom functions. We do so by printing a warning and calling the
uninstrumented function, as we do for unimplemented functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216042 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
test/Instrumentation/DataFlowSanitizer/abilist.ll