Skip to content

Commit 99052c4

Browse files
authored
[gardening][DebugInfo][NFC] Improve comment on HashingDISubprogram test (llvm#91543)
1 parent 64f4ceb commit 99052c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/unittests/IR/DebugInfoTest.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,8 +1195,9 @@ TEST(MetadataTest, DbgVariableRecordConversionRoutines) {
11951195
UseNewDbgInfoFormat = OldDbgValueMode;
11961196
}
11971197

1198-
// Test that the hashing function for DISubprograms produce the same result
1199-
// after replacing the temporary scope.
1198+
// Test that the hashing function for DISubprograms representing methods produce
1199+
// the same result after replacing their scope (the type containing the
1200+
// subprogram) from a temporary DIType with the permanent one.
12001201
TEST(DIBuilder, HashingDISubprogram) {
12011202
LLVMContext Ctx;
12021203
std::unique_ptr<Module> M = std::make_unique<Module>("MyModule", Ctx);

0 commit comments

Comments
 (0)