mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
[asan] Fix asan dynamic shadow check before copyArgsPassedByValToAllocas
llvm-svn: 310242
This commit is contained in:
parent
de5aa1767f
commit
cb2b0513d2
@ -756,7 +756,7 @@ struct FunctionStackPoisoner : public InstVisitor<FunctionStackPoisoner> {
|
||||
bool runOnFunction() {
|
||||
if (!ClStack) return false;
|
||||
|
||||
if (ClRedzoneByvalArgs && !ClForceDynamicShadow)
|
||||
if (ClRedzoneByvalArgs && Mapping.Offset != kDynamicShadowSentinel)
|
||||
copyArgsPassedByValToAllocas();
|
||||
|
||||
// Collect alloca, ret, lifetime instructions etc.
|
||||
|
Loading…
Reference in New Issue
Block a user