[llvm] r224414 - Remove a debugging assert.

Rafael Espindola rafael.espindola at gmail.com
Tue Dec 16 19:38:05 PST 2014


Author: rafael
Date: Tue Dec 16 21:38:04 2014
New Revision: 224414

URL: http://llvm.org/viewvc/llvm-project?rev=224414&view=rev
Log:
Remove a debugging assert.

Sorry for the noise, I have no idea how it survived to the final version.

Modified:
    llvm/trunk/lib/Support/Host.cpp

Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=224414&r1=224413&r2=224414&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Tue Dec 16 21:38:04 2014
@@ -51,7 +51,6 @@ using namespace llvm;
 
 #if defined(__linux__)
 static ssize_t LLVM_ATTRIBUTE_UNUSED readCpuInfo(void *Buf, size_t Size) {
-  assert(0);
   // Note: We cannot mmap /proc/cpuinfo here and then process the resulting
   // memory buffer because the 'file' has 0 size (it can be read from only
   // as a stream).





More information about the llvm-commits mailing list