diff options
author | Chris Lattner <sabre@nondot.org> | 2007-07-31 06:00:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-07-31 06:00:51 +0000 |
commit | 6240ab502275644e5f2740cc395b6e92219a3f42 (patch) | |
tree | 4bda4b182906195a4d8436b6843356cb82e69e95 /lib | |
parent | d8e616b17365e3b88212e936036cfafe5bee329a (diff) | |
download | external_llvm-6240ab502275644e5f2740cc395b6e92219a3f42.zip external_llvm-6240ab502275644e5f2740cc395b6e92219a3f42.tar.gz external_llvm-6240ab502275644e5f2740cc395b6e92219a3f42.tar.bz2 |
Fix PR1581, patch by Timo Savola
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40616 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/System/DynamicLibrary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/DynamicLibrary.cpp b/lib/System/DynamicLibrary.cpp index 8119348..a076e3c 100644 --- a/lib/System/DynamicLibrary.cpp +++ b/lib/System/DynamicLibrary.cpp @@ -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 == 0 && "Can't open program as dynamic library"); handle = a_handle; OpenedHandles.push_back(a_handle); |