[cfe-commits] r96785 - /cfe/trunk/lib/CodeGen/CGVtable.cpp
Douglas Gregor
dgregor at apple.com
Mon Feb 22 08:48:26 PST 2010
Author: dgregor
Date: Mon Feb 22 10:48:26 2010
New Revision: 96785
URL: http://llvm.org/viewvc/llvm-project?rev=96785&view=rev
Log:
Change the name of the vtable-debugging environment variable to
CLANG_VTABLE_DEBUG.
Modified:
cfe/trunk/lib/CodeGen/CGVtable.cpp
Modified: cfe/trunk/lib/CodeGen/CGVtable.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGVtable.cpp?rev=96785&r1=96784&r2=96785&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGVtable.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGVtable.cpp Mon Feb 22 10:48:26 2010
@@ -2034,7 +2034,7 @@
}
//#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) {
More information about the cfe-commits
mailing list