about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-11-08 14:54:03 +0000
committerbors <bors@rust-lang.org>2017-11-08 14:54:03 +0000
commit6e2977499bc9075fcc50f03e155303db53583f90 (patch)
tree2a4bcceee000885f2660113c5f6641a753d75ea6 /src/rustllvm/RustWrapper.cpp
parent4bb96f651964e9c21e6e1647febd10ce71b2554d (diff)
parent8581b59fb39b0072665de59b1a70e708b251d4b0 (diff)
downloadrust-6e2977499bc9075fcc50f03e155303db53583f90.tar.gz
rust-6e2977499bc9075fcc50f03e155303db53583f90.zip
Auto merge of #45866 - JohnColanduoni:issue-45731, r=alexcrichton
Disable `mmap`  in `libbacktrace` on Apple platforms

Fixes #45731

libbacktrace uses mmap if available to map ranges of the files containing debug information. On macOS `mmap` will succeed even if the mapped range does not exist, and a SIGBUS (with an unusual EXC_BAD_ACCESS code 10) will occur when the program attempts to page in the memory. To combat this we force `libbacktrace` to be built with the simple `read` based fallback on Apple platforms.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions