diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-11-07 10:45:17 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-11-07 10:46:09 -0800 |
commit | 7f561f6aafb5cd3eafbbb6db1950660b47b272b2 (patch) | |
tree | 68085b77eb6fb003f77948ea93dd283528b5c9c8 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 93c9110c980c9fc4bd72fb307c18f79afa0381e3 (diff) | |
download | llvm-7f561f6aafb5cd3eafbbb6db1950660b47b272b2.zip llvm-7f561f6aafb5cd3eafbbb6db1950660b47b272b2.tar.gz llvm-7f561f6aafb5cd3eafbbb6db1950660b47b272b2.tar.bz2 |
[DWARFLinker] Convert analyzeContextInfo to a work list (NFC)
Convert analyzeContextInfo to a work list using the same approach I used
to remove the recursion from lookForDIEsToKeep. This fixes the crash
reported in https://llvm.org/PR48029.
Tested using the reproducer attached to PR48029 as well as by comparing
the clang MD5 hashes before and after the change (with and without
gmodules).
Differential revision: https://reviews.llvm.org/D90873
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions