[all-commits] [llvm/llvm-project] 25ac0d: DebugInfo: Implement the -gsimple-template-names f...

David Blaikie via All-commits all-commits at lists.llvm.org
Thu Sep 23 19:58:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25ac0d3c73d68c017546eb622ba7632c6b581bfb
      https://github.com/llvm/llvm-project/commit/25ac0d3c73d68c017546eb622ba7632c6b581bfb
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2021-09-23 (Thu, 23 Sep 2021)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    A clang/test/CodeGenCXX/debug-info-simple-template-names.cpp

  Log Message:
  -----------
  DebugInfo: Implement the -gsimple-template-names functionality

This excludes certain names that can't be rebuilt from the available
DWARF:

* Atomic types - no DWARF differentiating int from atomic int.
* Vector types - enough DWARF (an attribute on the array type) to do
  this, but I haven't written the extra code to add the attributes
  required for this
* Lambdas - ambiguous with any other unnamed class
* Unnamed classes/enums - would need column info for the type in
  addition to file/line number
* noexcept function types - not encoded in DWARF




More information about the All-commits mailing list