diff options
author | Mike Stump <mrs@apple.com> | 2010-01-22 18:48:47 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2010-01-22 18:48:47 +0000 |
commit | 1f49d652356c85a7e32b99d209429c5bb2b79195 (patch) | |
tree | c6c805f94d86dc61e2267e517eb5a05c4ad77a94 | |
parent | e5f7214fac2a404d16eb5dac243e1882c16d29a1 (diff) | |
download | bcm5719-llvm-1f49d652356c85a7e32b99d209429c5bb2b79195.tar.gz bcm5719-llvm-1f49d652356c85a7e32b99d209429c5bb2b79195.zip |
Finish off fixing up debug information.
llvm-svn: 94193
-rw-r--r-- | clang/lib/CodeGen/CGVtable.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGVtable.cpp b/clang/lib/CodeGen/CGVtable.cpp index 3cb699d0e5b..e5abfc6f8d5 100644 --- a/clang/lib/CodeGen/CGVtable.cpp +++ b/clang/lib/CodeGen/CGVtable.cpp @@ -376,14 +376,14 @@ public: CurrentVBaseOffset)) return; + D1(printf(" vfn for %s at %d\n", + dyn_cast<CXXMethodDecl>(GD.getDecl())->getNameAsCString(), + (int)Methods.size())); + // We didn't find an entry in the vtable that we could use, add a new // entry. Methods.AddMethod(GD); - D1(printf(" vfn for %s at %d\n", - dyn_cast<CXXMethodDecl>(GD.getDecl())->getNameAsCString(), - 666 /* (int)Index[GD] */)); - VCallOffset[GD] = Offset/8; if (MorallyVirtual) { Index_t &idx = VCall[GD]; |