diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-08-04 13:23:30 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-08-04 13:23:30 +0000 |
commit | 5ed90c027882500cd59eb85e36ecb5c8d2d68075 (patch) | |
tree | f1e10a86510b4882ccf39e132246c76112aa836f /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 2d6b2f20108b39c4728d0e3cd2ff80fd22d85ff7 (diff) | |
download | llvm-5ed90c027882500cd59eb85e36ecb5c8d2d68075.zip llvm-5ed90c027882500cd59eb85e36ecb5c8d2d68075.tar.gz llvm-5ed90c027882500cd59eb85e36ecb5c8d2d68075.tar.bz2 |
Linker: Fix ASan failure from r243961
r243883 and r243961 made a use-after-free far more likely:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/6041/steps/check-llvm%20asan/logs/stdio
Unresolved nodes get inserted into the `Cycles` array. If they later
get resolved through RAUW, we need to update the reference. It's
interesting that this never hit before (maybe an asan-ified clang
bootstrap with `-flto -g` would have hit it, but I admit I haven't tried
anything quite that crazy).
llvm-svn: 243976
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions