mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 23:18:51 +00:00
[Orc] Expand a comment explaining a unit test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258032 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
085a36e4cc
commit
1f0b665b9d
@ -120,6 +120,11 @@ TEST_F(ObjectLinkingLayerExecutionTest, NoDuplicateFinalization) {
|
||||
// Module 2:
|
||||
// int bar();
|
||||
// int foo() { return bar(); }
|
||||
//
|
||||
// Verify that the memory manager is only finalized once (for Module 2).
|
||||
// Failure suggests that finalize is being called on the inner RTDyld
|
||||
// instance (for Module 1) which is unsafe, as it will prevent relocation of
|
||||
// Module 2.
|
||||
|
||||
ModuleBuilder MB1(getGlobalContext(), "", "dummy");
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user