OSDN Git Service

[LTO] Fix a use-after-free introduced in r278907 and caught by ASan.
authorChandler Carruth <chandlerc@gmail.com>
Wed, 17 Aug 2016 07:48:34 +0000 (07:48 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 17 Aug 2016 07:48:34 +0000 (07:48 +0000)
commitba80e96675b4bb1533b326bd6e66fc2fa04757ed
tree99b5b4e13b67bbb27d69874f5f581da56ea6edf2
parentde2442ac751023ae7bfd96cd1d2b342b8334973a
[LTO] Fix a use-after-free introduced in r278907 and caught by ASan.

The ASan build bot caught this right away:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/15580/steps/check-llvm%20asan/logs/stdio

This was also breaking a Windows build bot I'm pretty sure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278912 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-lto2/llvm-lto2.cpp