Remove assert hack now that I'm using the right GDB. :)
authorChris Lattner <sabre@nondot.org>
Wed, 24 Jul 2002 17:21:36 +0000 (17:21 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 24 Jul 2002 17:21:36 +0000 (17:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3045 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DataStructure.h
include/llvm/Analysis/DataStructure/DataStructure.h

index 57bf0eb31a7a14eb33f0e02139238cf27d4414c9..674a5f0a1edb2561e6475e2db37e728406b56fe3 100644 (file)
 #include "llvm/Pass.h"
 #include <string>
 
-// Hack around broken gdb! stack traces from system assert don't work, but do
-// from a fault.  :(
-#undef assert
-#define assert(x) \
-  do { if (!(x)) { std::cerr << "assertion failure!: " #x "\n"; \
-       int *P = 0; *P = 17; }} while (0)
-
 class Type;
 class GlobalValue;
 class DSNode;                  // Each node in the graph
index 57bf0eb31a7a14eb33f0e02139238cf27d4414c9..674a5f0a1edb2561e6475e2db37e728406b56fe3 100644 (file)
 #include "llvm/Pass.h"
 #include <string>
 
-// Hack around broken gdb! stack traces from system assert don't work, but do
-// from a fault.  :(
-#undef assert
-#define assert(x) \
-  do { if (!(x)) { std::cerr << "assertion failure!: " #x "\n"; \
-       int *P = 0; *P = 17; }} while (0)
-
 class Type;
 class GlobalValue;
 class DSNode;                  // Each node in the graph