about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-07-18 07:07:15 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-07-24 11:31:28 -0700
commitb29d106b7ca57214f30bef0ab49bb7c3399230fe (patch)
tree40f3df1d2bd0f9ec5b0e49d10a1995202b853041 /src/rustllvm/PassWrapper.cpp
parent4461f03a36a7a2d0ce2d6e3b50c92a7d75ccb40d (diff)
downloadrust-b29d106b7ca57214f30bef0ab49bb7c3399230fe.tar.gz
rust-b29d106b7ca57214f30bef0ab49bb7c3399230fe.zip
rustllvm: Don't require null terminators in files
Apparently the default getFile implementation for a memory buffer in LLVM ends
up requiring a null terminator at the end of the file. This isn't true a good
bit of the time apparently on OSX. There have been a number of failed
nightly/snapshot builds recently with this strange assertion.

This modifies the calls to MemoryBuffer::getFile to explicitly not ask for a
null terminator.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions