forked from OSchip/llvm-project
really fix PR1581, thanks to Daniel Dunbar for pointing
this out. llvm-svn: 42448
This commit is contained in:
parent
a6ef56e6d2
commit
8861abe6f2
|
@ -62,7 +62,7 @@ DynamicLibrary::DynamicLibrary() : handle(0) {
|
|||
|
||||
lt_dlhandle a_handle = lt_dlopen(0);
|
||||
|
||||
assert(a_handle == 0 && "Can't open program as dynamic library");
|
||||
assert(a_handle && "Can't open program as dynamic library");
|
||||
|
||||
handle = a_handle;
|
||||
OpenedHandles.push_back(a_handle);
|
||||
|
|
Loading…
Reference in New Issue