HomePhabricator

[ORC] Don't require a null-terminator on MemoryBuffers for objects in archives.

Authored by lhames on Apr 1 2020, 11:36 AM.

Description

[ORC] Don't require a null-terminator on MemoryBuffers for objects in archives.

The MemoryBuffer::getMemBuffer method's RequiresNullTerminator parameter
defaults to true, but object files are not null terminated so we need to
explicitly pass false here.

Details

Committed
lhamesApr 1 2020, 12:16 PM
Parents
rG53e238088107: [ORC] Add JITDylib name to debugging output when defining symbols.
Branches
Unknown
Tags
Unknown