summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-02-22 16:48:26 +0000
committerDouglas Gregor <dgregor@apple.com>2010-02-22 16:48:26 +0000
commitf4f2e0247f583d4eb91fb86a114e3f9eb79c34f4 (patch)
tree1d0c2c23181dc073ce6990ef9d96315d03d01dd1 /clang/lib/CodeGen
parent76eb74a1cdff7fefc63f669ec179a8ac19243812 (diff)
downloadbcm5719-llvm-f4f2e0247f583d4eb91fb86a114e3f9eb79c34f4.tar.gz
bcm5719-llvm-f4f2e0247f583d4eb91fb86a114e3f9eb79c34f4.zip
Change the name of the vtable-debugging environment variable to
CLANG_VTABLE_DEBUG. llvm-svn: 96785
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGVtable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGVtable.cpp b/clang/lib/CodeGen/CGVtable.cpp
index 43fd56ae5fa..97d21f3789f 100644
--- a/clang/lib/CodeGen/CGVtable.cpp
+++ b/clang/lib/CodeGen/CGVtable.cpp
@@ -2034,7 +2034,7 @@ public:
}
//#define D1(x)
-#define D1(X) do { if (getenv("DEBUG")) { X; } } while (0)
+#define D1(X) do { if (getenv("CLANG_VTABLE_DEBUG")) { X; } } while (0)
void GenerateVBaseOffsets(const CXXRecordDecl *RD, uint64_t Offset,
bool updateVBIndex, Index_t current_vbindex) {
OpenPOWER on IntegriCloud