Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions llvm/include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,17 +224,15 @@ class BasicLayout {
friend class BasicLayout;

public:
Segment()
: ContentSize(0), ZeroFillSize(0), Addr(0), WorkingMem(nullptr),
NextWorkingMemOffset(0) {}
Segment() = default;
Align Alignment;
size_t ContentSize;
uint64_t ZeroFillSize;
size_t ContentSize = 0;
uint64_t ZeroFillSize = 0;
orc::ExecutorAddr Addr;
char *WorkingMem = nullptr;

private:
size_t NextWorkingMemOffset;
size_t NextWorkingMemOffset = 0;
std::vector<Block *> ContentBlocks, ZeroFillBlocks;
};

Expand Down
Loading