[PATCH] D109541: Increase expected line number for ExtDebugInfo.cpp
Jake Egan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 16 07:06:20 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG45a738363ee3: Increase expected line number for ExtDebugInfo.cpp (authored by Jake-Egan).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109541/new/
https://reviews.llvm.org/D109541
Files:
clang/test/Modules/ExtDebugInfo.cpp
Index: clang/test/Modules/ExtDebugInfo.cpp
===================================================================
--- clang/test/Modules/ExtDebugInfo.cpp
+++ clang/test/Modules/ExtDebugInfo.cpp
@@ -24,6 +24,8 @@
@import DebugCXX;
#endif
+// Set the line number so that the LIT check expected line number doesn't have to be updated after adding/removing a line in the RUN section.
+#line 50
using DebugCXX::Struct;
Struct s;
@@ -204,8 +206,7 @@
// CHECK: ![[GLOBAL_ANON]] = !DICompositeType(tag: DW_TAG_structure_type,
// CHECK-SAME: name: "InAnonymousNamespace", {{.*}}DIFlagFwdDecl)
-
-// CHECK: !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: !{{[0-9]+}}, entity: ![[STRUCT]], file: ![[CPP]], line: 27)
+// CHECK: !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: !{{[0-9]+}}, entity: ![[STRUCT]], file: ![[CPP]], line: 50)
// CHECK: !DICompileUnit(
// CHECK-SAME: splitDebugFilename:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109541.372929.patch
Type: text/x-patch
Size: 943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210916/20c3eea9/attachment.bin>
More information about the cfe-commits
mailing list