aprantl requested changes to this revision. aprantl added inline comments. This revision now requires changes to proceed.
================ Comment at: test/CodeGen/debug-info-no-location.cpp:4 +// CHECK-NEXT: ret void, !dbg !51 +// CHECK: !48 = distinct !DISubprogram(name: "`dynamic atexit destructor for 'f'", scope: !3, file: !3, line: 16, type: !49, scopeLine: 16, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !27, retainedNodes: !29) +// CHECK: !51 = !DILocation(line: 16, scope: !48) ---------------- Please don't hardcode metadata numbers in the tests, this is bound to break almost immediately. It seems like this function is compiler-generated and thus should be marked as artificial? Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D66328/new/ https://reviews.llvm.org/D66328 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits