[PATCH] D19555: [sanitizers] Get the proper symbol version when long double transition is involved.
Marcin Kościelnicki via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 26 13:01:06 PDT 2016
koriakin created this revision.
koriakin added reviewers: kcc, eugenis.
koriakin added a subscriber: llvm-commits.
koriakin set the repository for this revision to rL LLVM.
koriakin added a project: Sanitizers.
Herald added a subscriber: kubabrecka.
On linux, some architectures had an ABI transition from 64-bit long double
(ie. same as double) to 128-bit long double. On those, glibc symbols
involving long doubles come in two versions, and we need to pass the
correct one to dlvsym when intercepting them.
A few more functions we intercept are also versioned (all printf, scanf,
strtold variants), but there's no need to fix these, as the REAL() versions
are never called.
This fixes 4 FAILs on powerpc64.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6238 bytes
Desc: not available
More information about the llvm-commits