diff options
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); |