[all-commits] [llvm/llvm-project] b215a2: .debug_gnu_pub{names, types}: Stabilize iteration o...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jul 19 23:30:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b215a2c885871e6ab67ad2f332f41e265959b7b8
      https://github.com/llvm/llvm-project/commit/b215a2c885871e6ab67ad2f332f41e265959b7b8
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/test/DebugInfo/X86/debug-pubtables-dwarf64.ll
    M llvm/test/DebugInfo/X86/gnu-public-names-gmlt.ll
    M llvm/test/DebugInfo/X86/gnu-public-names-tu.ll
    M llvm/test/DebugInfo/X86/gnu-public-names.ll

  Log Message:
  -----------
  .debug_gnu_pub{names,types}: Stabilize iteration order

StringMap iteration order is not guaranteed to be deterministic
(https://llvm.org/docs/ProgrammersManual.html#llvm-adt-stringmap-h).
Sort by DIE offset (which looks like a pre-order traversal order).




More information about the All-commits mailing list