[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
Mon Aug 26 17:10:31 PDT 2019
aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.
================
Comment at: test/CodeGenCXX/debug-info-export_symbols.cpp:4
+// CHECK: [[SCOPE:![0-9]+]] = distinct !DICompositeType({{.*}}flags: DIFlagTypePassByValue
+// CHECK: !DICompositeType(tag: DW_TAG_structure_type, scope: [[SCOPE]]{{.*}}flags: DIFlagExportSymbols | DIFlagTypePassByValue
+struct A {
----------------
FYI: This is equivalent to the slightly more readable:
```
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, scope: [[SCOPE]]
// CHECK-SAME: flags: DIFlagExportSymbols | DIFlagTypePassByValue
```
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66667/new/
https://reviews.llvm.org/D66667
More information about the cfe-commits
mailing list