Author: jdevlieghere Date: Thu May 16 09:54:41 2019 New Revision: 360916 URL: http://llvm.org/viewvc/llvm-project?rev=360916&view=rev Log: [IRExecutionUnit] Remove static_assert
This doesn't make sense on platforms other than 64 bit. Modified: lldb/trunk/source/Expression/IRExecutionUnit.cpp Modified: lldb/trunk/source/Expression/IRExecutionUnit.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRExecutionUnit.cpp?rev=360916&r1=360915&r2=360916&view=diff ============================================================================== --- lldb/trunk/source/Expression/IRExecutionUnit.cpp (original) +++ lldb/trunk/source/Expression/IRExecutionUnit.cpp Thu May 16 09:54:41 2019 @@ -1023,8 +1023,6 @@ IRExecutionUnit::MemoryManager::getSymbo void *IRExecutionUnit::MemoryManager::getPointerToNamedFunction( const std::string &Name, bool AbortOnFailure) { - static_assert(sizeof(void *) == 8, ""); - return (void *)getSymbolAddress(Name); } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits