diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-08-12 00:12:43 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-08-12 00:12:43 +0000 |
commit | 3ae6e1528a29a0c717d2f2c6a63e9dcb67731cd7 (patch) | |
tree | 641dea30c8c0278721461fb2288e247035028540 /clang/lib/Lex/ModuleMap.cpp | |
parent | 981a64c380bea01b35d3426e194c8f8f5f7ec709 (diff) | |
download | llvm-3ae6e1528a29a0c717d2f2c6a63e9dcb67731cd7.zip llvm-3ae6e1528a29a0c717d2f2c6a63e9dcb67731cd7.tar.gz llvm-3ae6e1528a29a0c717d2f2c6a63e9dcb67731cd7.tar.bz2 |
msan: Handle musttail calls
First, avoid calling setTailCall(false) on musttail calls. The funciton
prototypes should be "congruent", so the shadow layout should be exactly
the same.
Second, avoid inserting instrumentation after a musttail call to
propagate the return value shadow. We don't need to propagate the
result of a tail call, it should already be in the right place.
Reviewed By: eugenis
Differential Revision: http://reviews.llvm.org/D4331
llvm-svn: 215415
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions