aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2024-07-08 13:48:06 +0100
committerGitHub <noreply@github.com>2024-07-08 13:48:06 +0100
commitcb72aecea6e7da49c7a7fbeb1bde4e401324b9ba (patch)
treef77ad9bffa6530851c1f7d624205cba23ac55cfd /llvm/lib/Object/ELFObjectFile.cpp
parent1e6dfc624867fbfc6cd6e5dd534bd11f0616e7fc (diff)
downloadllvm-cb72aecea6e7da49c7a7fbeb1bde4e401324b9ba.zip
llvm-cb72aecea6e7da49c7a7fbeb1bde4e401324b9ba.tar.gz
llvm-cb72aecea6e7da49c7a7fbeb1bde4e401324b9ba.tar.bz2
[lldb][DataFormatter] Move std::unordered_map::iterator formatter into LibCxxUnorderedMap.cpp (#97752)
Similar to how we moved the `std::map::iterator` formatter in https://github.com/llvm/llvm-project/pull/97687, do the same for `std::unordered_map::iterator`. Again the `unordered_map` and `unordered_map::iterator` formatters try to do very similar things: retrieve data out of the map. The iterator formatter does this in a fragile way (similar to how `std::map` does it, see https://github.com/llvm/llvm-project/pull/97579). Thus we will be refactoring the `std::unordered_map::iterator` in upcoming patches. Having it in `LibCxxUnorderedMap` will allow us to re-use some of the logic (and we won't have to repeat some of the clarification comments).
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions