[PATCH] D19048: Test for a module related crash in CGDebugInfo.cpp

Douglas Yung via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 28 14:10:55 PDT 2016


dyung added inline comments.

================
Comment at: test/Modules/getSourceDescriptor-crash.cpp:6
@@ +5,2 @@
+
+// CHECK: DIModule2
----------------
aprantl wrote:
> This doesn't actually appear in the output :-)
> You probably want to at least check for the correct name of the module and for the DIImportedEntity.
Whoops! That was me trying to get it to fail to convince myself it was working and forgot to change it back. I'll restore it and modify the check to what you suggested. Thanks!


http://reviews.llvm.org/D19048





More information about the cfe-commits mailing list