[all-commits] [llvm/llvm-project] 7b498b: DebugInfo: Classify noreturn function types as non...

David Blaikie via All-commits all-commits at lists.llvm.org
Thu Mar 24 11:54:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b498beef03ae07bb98796461a957af836074b92
      https://github.com/llvm/llvm-project/commit/7b498beef03ae07bb98796461a957af836074b92
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2022-03-24 (Thu, 24 Mar 2022)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/test/CodeGenCXX/debug-info-simple-template-names.cpp
    M cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp

  Log Message:
  -----------
  DebugInfo: Classify noreturn function types as non-reconstructible

This information isn't preserved in the DWARF description of function
types (though probably should be - it's preserved on the function
declarations/definitions themselves through the DW_AT_noreturn attribute
- but we should move or also include that in the subroutine type itself
too - but for now, with it not being there, the DWARF is lossy and
can't be reconstructed)




More information about the All-commits mailing list