about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-10-25 07:51:36 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-10-25 07:51:36 -0700
commit2f3c412c84712f2159ccf5c174ac716d19925d68 (patch)
treedac573dbef73040f84b941cd216fb81769fa37b2 /src/rustllvm/PassWrapper.cpp
parentb2478052f88db8c8526ee2dc4a382da91eefc76c (diff)
downloadrust-2f3c412c84712f2159ccf5c174ac716d19925d68.tar.gz
rust-2f3c412c84712f2159ccf5c174ac716d19925d68.zip
std: Disable usage of mmap allocator in libbacktrace
This is sort of a long overdue change from the investigation in #29293
and #37477. The released binaries of rustc don't have debug information and so
don't actively suffer this problem but this can hit local development of rustc
and also larger programs compiled against libstd generating backtraces.

The main purpose of the mmap allocator in libacktrace is to be usable from a
signal handler, but we don't do that, so the normal allocator using malloc/free
should work well for us.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions