//===--- CGVtable.cpp - Emit LLVM Code for C++ vtables --------------------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This contains code dealing with C++ code generation of virtual tables.////===----------------------------------------------------------------------===//#include"CodeGenModule.h"#include"CodeGenFunction.h"#include"clang/AST/CXXInheritance.h"#include"clang/AST/RecordLayout.h"#include"llvm/ADT/DenseSet.h"#include<cstdio>usingnamespaceclang;usingnamespaceCodeGen;namespace{classVtableBuilder{public:/// Index_t - Vtable index type.typedefuint64_tIndex_t;typedefstd