class ResourceTracker

Declaration

class ResourceTracker : public ThreadSafeRefCountedBase { /* full declaration omitted */ };

Description

API to remove / transfer ownership of JIT resources.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:53

Inherits from: ThreadSafeRefCountedBase

Member Variables

private std::atomic_uintptr_t JDAndFlag

Method Overview

Methods

ResourceTracker(const llvm::orc::ResourceTracker&)

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:60

Parameters

const llvm::orc::ResourceTracker&

ResourceTracker(llvm::orc::ResourceTracker&&)

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:62

Parameters

llvm::orc::ResourceTracker&&

ResourceTracker(llvm::orc::JITDylibSP JD)

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:89

Parameters

llvm::orc::JITDylibSP JD

llvm::orc::JITDylib& getJITDylib() const

Description

Return the JITDylib targeted by this tracker.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:68

llvm::orc::ResourceKey getKeyUnsafe() const

Description

Returns the key associated with this tracker. This method should not be used except for debug logging: there is no guarantee that the returned value will remain valid.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:86

bool isDefunct() const

Description

Return true if this tracker has become defunct.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:81

void makeDefunct()

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:91

llvm::Error remove()

Description

Remove all resources associated with this key.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:74

void transferTo(llvm::orc::ResourceTracker& DstRT)

Description

Transfer all resources associated with this key to the given tracker, which must target the same JITDylib as this one.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:78

Parameters

llvm::orc::ResourceTracker& DstRT

~ResourceTracker()

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:65