diff options
author | Augusto Noronha <augusto2112@me.com> | 2024-05-08 15:51:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 15:51:46 -0700 |
commit | 99052c4bdf9593a2e648f2c99cabaab36580898c (patch) | |
tree | 3f59c650e667ed68d5761fc7e3a670d5d2a0aec3 /llvm/unittests/IR/DebugInfoTest.cpp | |
parent | 64f4ceb09ec3559368dd775330184b5259531cd3 (diff) | |
download | llvm-99052c4bdf9593a2e648f2c99cabaab36580898c.zip llvm-99052c4bdf9593a2e648f2c99cabaab36580898c.tar.gz llvm-99052c4bdf9593a2e648f2c99cabaab36580898c.tar.bz2 |
[gardening][DebugInfo][NFC] Improve comment on HashingDISubprogram test (#91543)
Diffstat (limited to 'llvm/unittests/IR/DebugInfoTest.cpp')
-rw-r--r-- | llvm/unittests/IR/DebugInfoTest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/unittests/IR/DebugInfoTest.cpp b/llvm/unittests/IR/DebugInfoTest.cpp index 8847a57..cac8acb 100644 --- a/llvm/unittests/IR/DebugInfoTest.cpp +++ b/llvm/unittests/IR/DebugInfoTest.cpp @@ -1195,8 +1195,9 @@ TEST(MetadataTest, DbgVariableRecordConversionRoutines) { UseNewDbgInfoFormat = OldDbgValueMode; } -// Test that the hashing function for DISubprograms produce the same result -// after replacing the temporary scope. +// Test that the hashing function for DISubprograms representing methods produce +// the same result after replacing their scope (the type containing the +// subprogram) from a temporary DIType with the permanent one. TEST(DIBuilder, HashingDISubprogram) { LLVMContext Ctx; std::unique_ptr<Module> M = std::make_unique<Module>("MyModule", Ctx); |