#include "llvm/ADT/STLExtras.h"
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
#include "llvm/ExecutionEngine/Orc/ObjectFileInterface.h"
#include "llvm/Support/Memory.h"
#include "llvm/Testing/Support/Error.h"
#include "gtest/gtest.h"
usingnamespacellvm;
usingnamespacellvm::jitlink;
static const char BlockContentBytes[] = …;
static ArrayRef<char> BlockContent(BlockContentBytes);
TEST(LinkGraphTest, Construction) { … }
TEST(LinkGraphTest, AddressAccess) { … }
TEST(LinkGraphTest, SectionEmpty) { … }
TEST(LinkGraphTest, BlockAndSymbolIteration) { … }
TEST(LinkGraphTest, ContentAccessAndUpdate) { … }
TEST(LinkGraphTest, MakeExternal) { … }
TEST(LinkGraphTest, MakeAbsolute) { … }
TEST(LinkGraphTest, MakeDefined) { … }
TEST(LinkGraphTest, TransferDefinedSymbol) { … }
TEST(LinkGraphTest, TransferDefinedSymbolAcrossSections) { … }
TEST(LinkGraphTest, TransferBlock) { … }
TEST(LinkGraphTest, MergeSections) { … }
TEST(LinkGraphTest, SplitBlock) { … }
TEST(LinkGraphTest, GraphAllocationMethods) { … }
TEST(LinkGraphTest, IsCStringBlockTest) { … }
TEST(LinkGraphTest, BasicLayoutHonorsNoAlloc) { … }