about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-07-24 19:56:06 +0000
committerbors <bors@rust-lang.org>2014-07-24 19:56:06 +0000
commitd3f66bd5b4c7066b1405c46a2fcdd9646761bc1e (patch)
tree86dfc193fa5107cdba2b266fce6b73c842ea292d /src/rustllvm/PassWrapper.cpp
parentc05bb4ec7d640b45ca87ead7b6090aaeb2acf060 (diff)
parentb29d106b7ca57214f30bef0ab49bb7c3399230fe (diff)
downloadrust-d3f66bd5b4c7066b1405c46a2fcdd9646761bc1e.tar.gz
rust-d3f66bd5b4c7066b1405c46a2fcdd9646761bc1e.zip
auto merge of #15779 : alexcrichton/rust/no-nul-terminator, r=pcwalton
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