[JITLink] Fix bug in LinkGraph::createMutableContentBlock overload.
Creating zero-filled blocks should use allocateBuffer to allocate the block's content buffer, rather than allocateContent. (allocateContent interpreted what would have been the size argument as a single-element ArrayRef and allocated a single byte).
Loading
Please sign in to comment