[PATCH] D19567: PR21823: 'nodebug' attribute on global/static variables

Adrian Prantl via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 09:03:24 PDT 2016


aprantl added a comment.

Debug info changes otherwise look good to me.


================
Comment at: test/CodeGenCXX/debug-info-nodebug.cpp:17
@@ +16,3 @@
+// YESINFO-DAG: !DIGlobalVariable(name: "global_int_def"
+// NOINFO-NOT:  !DIGlobalVariable(name: "global_int_def"
+
----------------
I don't think you can chain to -NOT checks like that. You may need to run FileCheck once times for each negative check.


http://reviews.llvm.org/D19567





More information about the cfe-commits mailing list