[sanitizers] Get the proper printf/scanf version when long double transition is involved.
authorMarcin Koscielnicki <koriakin@0x04.net>
Mon, 28 Nov 2016 21:15:19 +0000 (21:15 +0000)
committerMarcin Koscielnicki <koriakin@0x04.net>
Mon, 28 Nov 2016 21:15:19 +0000 (21:15 +0000)
commitb3d93889f513fde40ce3911248d95ed97c2c8d2a
treeff662a6f2b4ad04227b341d060223eb74b3bda30
parent593970f1a74e8a03cbdbebfb9943e0905c6e9e2e
[sanitizers] Get the proper printf/scanf version when long double transition is involved.

See D19555 for rationale.  As it turns out, this treatment is also necessary
for scanf/printf.

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

llvm-svn: 288064
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
compiler-rt/test/sanitizer_common/TestCases/printf-ldbl.c [new file with mode: 0644]
compiler-rt/test/sanitizer_common/TestCases/scanf-ldbl.c [new file with mode: 0644]