[PATCH] D23168: emit_DW_AT_noreturn flag

Adrian Prantl via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 11 10:31:31 PDT 2016


aprantl added inline comments.

================
Comment at: test/Frontend/dinoreturn.c:2
@@ +1,3 @@
+// RUN: %clang %s -c -std=c11 -emit-llvm -S -g -o - | FileCheck %s
+// CHECK: DIFlagNoReturn 
+#include <stdlib.h>
----------------
Please check for more context. For example:
  CHECK: !DISubprogram({{.*}}name: "f"{{.*}}flags: DIFlagNoreturn
would be good here.


https://reviews.llvm.org/D23168





More information about the cfe-commits mailing list