From c19dee734f3adfb800f1a9684fe661c827370885 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Wed, 17 Aug 2016 16:02:43 +0000 Subject: Support the DW_AT_noreturn DWARF flag. This is used to mark functions with the C++11 [[ noreturn ]] or C11 _Noreturn attributes. Patch by Victor Leschuk! https://reviews.llvm.org/D23167 llvm-svn: 278940 --- llvm/lib/Support/Dwarf.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Support/Dwarf.cpp') diff --git a/llvm/lib/Support/Dwarf.cpp b/llvm/lib/Support/Dwarf.cpp index 7aea05d..e7c1ecf 100644 --- a/llvm/lib/Support/Dwarf.cpp +++ b/llvm/lib/Support/Dwarf.cpp @@ -147,6 +147,7 @@ const char *llvm::dwarf::AttributeString(unsigned Attribute) { case DW_AT_dwo_name: return "DW_AT_dwo_name"; case DW_AT_reference: return "DW_AT_reference"; case DW_AT_rvalue_reference: return "DW_AT_rvalue_reference"; + case DW_AT_noreturn: return "DW_AT_noreturn"; case DW_AT_MIPS_loop_begin: return "DW_AT_MIPS_loop_begin"; case DW_AT_MIPS_tail_loop_begin: return "DW_AT_MIPS_tail_loop_begin"; case DW_AT_MIPS_epilog_begin: return "DW_AT_MIPS_epilog_begin"; -- cgit v1.1