[Lldb-commits] [lldb] r360916 - [IRExecutionUnit] Remove static_assert

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu May 16 09:54:41 PDT 2019


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);
 }
 




More information about the lldb-commits mailing list