#include "llvm/IR/DebugInfo.h"
#include "../lib/IR/LLVMContextImpl.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/DebugProgramInstruction.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Verifier.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Transforms/Utils/Local.h"
#include "gtest/gtest.h"
usingnamespacellvm;
extern cl::opt<bool> UseNewDbgInfoFormat;
static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { … }
namespace {
TEST(DINodeTest, getFlag) { … }
TEST(DINodeTest, getFlagString) { … }
TEST(DINodeTest, splitFlags) { … }
TEST(StripTest, LoopMetadata) { … }
TEST(MetadataTest, DeleteInstUsedByDbgRecord) { … }
TEST(DbgVariableIntrinsic, EmptyMDIsKillLocation) { … }
TEST(MetadataTest, DeleteInstUsedByDbgVariableRecord) { … }
TEST(MetadataTest, OrderingOfDbgVariableRecords) { … }
TEST(DIBuilder, CreateFile) { … }
TEST(DIBuilder, CreateFortranArrayTypeWithAttributes) { … }
TEST(DIBuilder, CreateSetType) { … }
TEST(DIBuilder, CreateStringType) { … }
TEST(DIBuilder, DIEnumerator) { … }
TEST(DbgAssignIntrinsicTest, replaceVariableLocationOp) { … }
TEST(AssignmentTrackingTest, Utils) { … }
TEST(IRBuilder, GetSetInsertionPointWithEmptyBasicBlock) { … }
TEST(AssignmentTrackingTest, InstrMethods) { … }
TEST(MetadataTest, ConvertDbgToDbgVariableRecord) { … }
TEST(MetadataTest, DbgVariableRecordConversionRoutines) { … }
TEST(DIBuilder, HashingDISubprogram) { … }
TEST(DIBuilder, CompositeTypes) { … }
}