commit | 7c7b8e57f8f3d20610cdbf1888e2f0101752f986 | [log] [tgz] |
---|---|---|
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Fri Aug 23 12:11:00 2013 +0000 |
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Fri Aug 23 12:11:00 2013 +0000 |
tree | 13f24a5d34d64194aa750cca2186c399d5c768c1 | |
parent | a0b2d332c114571716746ba90c815cfb6f68d4ab [diff] |
[msan] Fix handling of va_arg overflow area on x86_64. The code was erroneously reading overflow area shadow from the TLS slot, bypassing the local copy. Reading shadow directly from TLS is wrong, because it can be overwritten by a nested vararg call, if that happens before va_start. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189104 91177308-0d34-0410-b5e6-96231b3b80d8