diff options
author | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2019-06-26 18:11:26 +0000 |
---|---|---|
committer | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2019-06-26 18:11:26 +0000 |
commit | b7e6c37efead68d425c68aae4c493e568ab84e03 (patch) | |
tree | 09f1a54ebf918450ca9fb93b344dad0e6ebda08d /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | 46a3dbf9a62edbbff770fc61aa15b821eb28f8cc (diff) | |
download | bcm5719-llvm-b7e6c37efead68d425c68aae4c493e568ab84e03.tar.gz bcm5719-llvm-b7e6c37efead68d425c68aae4c493e568ab84e03.zip |
Fixed memory use-after-free problem.
Bug reported in https://bugs.llvm.org/show_bug.cgi?id=42269.
Freeing of the contention group (CG) stucture by master thread looks wrong,
because workers can leave the CG later on. Intead the freeing
is now done by the last thread leaving the CG.
Differential Revision: https://reviews.llvm.org/D63599
llvm-svn: 364456
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions