diff options
author | Jason Molenda <jason@molenda.com> | 2022-09-27 16:17:22 -0700 |
---|---|---|
committer | Jason Molenda <jason@molenda.com> | 2022-09-27 16:20:26 -0700 |
commit | 1fee25629d9d3f33cc618cb2b61cdf3823bfd092 (patch) | |
tree | 9f3a0b1c125c5f1a19d07d8b56dfd6831dae4fee /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 0195d13232205d30041d164f803d7b03adc9eff8 (diff) | |
download | llvm-1fee25629d9d3f33cc618cb2b61cdf3823bfd092.zip llvm-1fee25629d9d3f33cc618cb2b61cdf3823bfd092.tar.gz llvm-1fee25629d9d3f33cc618cb2b61cdf3823bfd092.tar.bz2 |
Clear old section-to-addr entry when loading Section at new addr
SectionLoadList has a section-to-address map (m_sect_to_addr) and
an address-to-section map (m_addr_to_sect). When the load address
of a section is updated, the old entry from m_addr_to_sect would
never be cleared, resulting in incorrect address-to-section address
lookups from that point forward.
Differential Revision: https://reviews.llvm.org/D130534
rdar://97308773
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions