aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRon Lieberman <ron.lieberman@amd.com>2020-04-24 15:33:37 -0500
committerRon Lieberman <ron.lieberman@amd.com>2020-04-24 15:33:37 -0500
commitee9c53d27106689daf9f9f26354bead6ccad4ef1 (patch)
tree50b668c3d4eb775f4e55d950b63e8919e56ec9e4 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent79702dd349f31c0c67bf35f36435fdc843fcd052 (diff)
downloadllvm-ee9c53d27106689daf9f9f26354bead6ccad4ef1.zip
llvm-ee9c53d27106689daf9f9f26354bead6ccad4ef1.tar.gz
llvm-ee9c53d27106689daf9f9f26354bead6ccad4ef1.tar.bz2
[libomptarget] Initialize reference parameter IsNew within Device::getOrAllocTgtPtr
The two locals IsNew and Pointer_IsNew were uninitialized at declaration, and then passed by reference to Device.getOrAllocTgtPtr which in turn did not assign on all paths within the function. This resulted in occasional runtime failures in one application. Device::getOrAllocTgtPtr will now initialize IsNew to false on entry to function. Differential Revision: https://reviews.llvm.org/D78744
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions