From 7b498beef03ae07bb98796461a957af836074b92 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 24 Mar 2022 18:31:48 +0000 Subject: 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) --- .../debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cross-project-tests') diff --git a/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp b/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp index 5ecc3bc7fc14..5b1afcb29cc7 100644 --- a/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp +++ b/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp @@ -325,6 +325,8 @@ int main() { f1::*>(); void fcc() __attribute__((swiftcall)); f1(); + int fnrt() __attribute__((noreturn)); + f1(); } void t8::mem() { struct t7 { }; -- cgit v1.2.1