[all-commits] [llvm/llvm-project] a01338: [DebugInfo] Use heterogenous lookups with std::map...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri Mar 21 08:04:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a013387f73cec51c2df4f7732fa87aa01709cc89
      https://github.com/llvm/llvm-project/commit/a013387f73cec51c2df4f7732fa87aa01709cc89
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp

  Log Message:
  -----------
  [DebugInfo] Use heterogenous lookups with std::map (NFC) (#132354)

Heterogenous lookups allow us to call find with StringRef, avoiding a
temporary heap allocation of std::string.



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