diff options
author | Pavel Labath <pavel@labath.sk> | 2024-06-24 13:35:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 13:35:16 +0200 |
commit | 41a4db1ba6591169069dd2352e00364d9113fbeb (patch) | |
tree | 2aa8b3875e1915e6efc04bfa41ff97b63a66595f /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 689c5c48294451461b936be2ea30444ecaf39182 (diff) | |
download | llvm-41a4db1ba6591169069dd2352e00364d9113fbeb.zip llvm-41a4db1ba6591169069dd2352e00364d9113fbeb.tar.gz llvm-41a4db1ba6591169069dd2352e00364d9113fbeb.tar.bz2 |
[lldb/DWARF] Optimize DIEToType handling (#96308)
- move type insertion from individual parse methods into
ParseTypeFromDWARF
- optimize sentinel (TYPE_IS_BEING_PARSED) insertion to avoid double map
lookup
- as this requires the map to not have nullptr values, I've replaced all
`operator[]` queries with calls to `lookup`.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions