We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 593b074 commit 22f8276Copy full SHA for 22f8276
llvm/tools/llvm-jitlink/llvm-jitlink.cpp
@@ -437,7 +437,12 @@ class JITLinkSlabAllocator final : public JITLinkMemoryManager {
437
uint64_t SlabRemainingSize = SlabRemaining.allocatedSize();
438
439
if (SegmentSize > SlabRemainingSize)
440
- return make_error<StringError>("Slab allocator out of memory",
+ return make_error<StringError>("Slab allocator out of memory: "
441
+ "request for " +
442
+ formatv("{0:x}", SegmentSize) +
443
+ " bytes exceeds remaining capacity of " +
444
+ formatv("{0:x}", SlabRemainingSize) +
445
+ " bytes",
446
inconvertibleErrorCode());
447
448
sys::MemoryBlock SegMem(SlabBase, SegmentSize);
0 commit comments