diff options
author | Rui Ueyama <ruiu@google.com> | 2018-07-26 17:11:24 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-07-26 17:11:24 +0000 |
commit | 279621fbf0ab3758784bf79139711ae3424f69ec (patch) | |
tree | f22c770ffb483150733a571db8a0d4e48afa5407 /llvm/lib/CodeGen/LiveRangeEdit.cpp | |
parent | cb6a933c9bd010f06b0ae50893afb3f821bd5fe0 (diff) | |
download | bcm5719-llvm-279621fbf0ab3758784bf79139711ae3424f69ec.tar.gz bcm5719-llvm-279621fbf0ab3758784bf79139711ae3424f69ec.zip |
[COFF] clean up global resources after completion
Patch by Andrew Kelley.
Previously, running lld::coff::link() twice in the same process would
access stale pointers because of these global variables not being reset.
After this patch, lld::coff::link() can be called any number of times,
just like its ELF and MACH-O counterparts.
Differential Revision: https://reviews.llvm.org/D49856
llvm-svn: 338042
Diffstat (limited to 'llvm/lib/CodeGen/LiveRangeEdit.cpp')
0 files changed, 0 insertions, 0 deletions