[PATCH] DebugInfo: Permit DW_TAG_structure_type, DW_TAG_member, DW_TAG_typedef tags with empty file names.

David Blaikie dblaikie at gmail.com
Tue Mar 24 14:18:13 PDT 2015


================
Comment at: test/DebugInfo/verifier.ll:4
@@ +3,3 @@
+; Test that we accept DW_TAG_structure_type, DW_TAG_member and DW_TAG_typedef
+; with no source location. These can come up in some languages with predefined
+; types.
----------------
"this test doesn't crash" is generally not ideal, prefer to test the desired output.

Use llc rather than opt, and ensure that the tags are emitted without file info as desired?

http://reviews.llvm.org/D8588

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list