[PATCH] D66667: Debug Info: Support for DW_AT_export_symbols for anonymous structs

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 23 11:03:41 PDT 2019


aprantl added inline comments.


================
Comment at: test/CodeGenCXX/debug-info-export_symbols.cpp:3
+
+// CHECK-DAG: !DICompositeType({{.*}}flags: DIFlagExportSymbols | DIFlagTypePassByValue
+struct A {
----------------
This should just be `CHECK:` if it stands by itself.

It would be better to match both composite types, establish which one is the inner one, and then verify that only that one has the attribute.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66667/new/

https://reviews.llvm.org/D66667





More information about the cfe-commits mailing list