[all-commits] [llvm/llvm-project] 40f159: DebugInfo: Correct/improve type formatting (pointe...

David Blaikie via All-commits all-commits at lists.llvm.org
Fri Sep 3 12:42:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40f15935582f685326ff8e5c95e0f185ae1acd3c
      https://github.com/llvm/llvm-project/commit/40f15935582f685326ff8e5c95e0f185ae1acd3c
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
    M llvm/test/DebugInfo/MSP430/dwarf-basics.ll
    M llvm/test/DebugInfo/X86/dwarfdump-allocatedVar.ll
    M llvm/test/DebugInfo/X86/dwarfdump-associatedVar.ll
    M llvm/test/DebugInfo/X86/tu-to-non-named-type.ll
    M llvm/test/MC/WebAssembly/dwarfdump.ll
    M llvm/test/MC/WebAssembly/dwarfdump64.ll
    M llvm/test/tools/dsymutil/X86/dwarf5.test
    M llvm/test/tools/llvm-dwarfdump/X86/DW_AT_object_pointer.s
    M llvm/test/tools/llvm-dwarfdump/X86/prettyprint_types.s

  Log Message:
  -----------
  DebugInfo: Correct/improve type formatting (pointers to function types especially)

This does add some extra superfluous whitespace (eg: "int *") intended
to make the Simplified Template Names work easier - this makes the
DIE-based names match more exactly the clang-generated names, so it's
easier to identify cases that don't generate matching names.

(arguably we could change clang to skip that whitespace or add some
fuzzy matching to accommodate differences in certain whitespace - but
this seemed easier and fairly low-impact)




More information about the All-commits mailing list