<rdar://problem/13209140>
“plugin load” tries to be more helpful when it fails to load a plugin llvm-svn: 180218
This commit is contained in:
@@ -20,6 +20,12 @@ DynamicLibrary::DynamicLibrary (const FileSpec& spec, uint32_t options) : m_file
|
||||
m_handle = NULL;
|
||||
}
|
||||
|
||||
bool
|
||||
DynamicLibrary::IsValid ()
|
||||
{
|
||||
return m_handle != NULL;
|
||||
}
|
||||
|
||||
DynamicLibrary::~DynamicLibrary ()
|
||||
{
|
||||
if (m_handle)
|
||||
|
||||
Reference in New Issue
Block a user