[all-commits] [llvm/llvm-project] 41a4db: [lldb/DWARF] Optimize DIEToType handling (#96308)

Pavel Labath via All-commits all-commits at lists.llvm.org
Mon Jun 24 04:35:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41a4db1ba6591169069dd2352e00364d9113fbeb
      https://github.com/llvm/llvm-project/commit/41a4db1ba6591169069dd2352e00364d9113fbeb
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

  Log Message:
  -----------
  [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`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list