Remove assert hack now that I'm using the right GDB. :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-07-24 17:21:36 +00:00
parent ddd3e61bd3
commit f6a1328e4c
2 changed files with 0 additions and 14 deletions

View File

@ -10,13 +10,6 @@
#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

View File

@ -10,13 +10,6 @@
#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