about summary refs log tree commit diff
path: root/src/libbacktrace
AgeCommit message (Collapse)AuthorLines
2018-12-24std: Use backtrace-sys from crates.ioAlex Crichton-0/+0
This commit switches the standard library to using the `backtrace-sys` crate from crates.io instead of duplicating the logic here in the Rust repositor with the `backtrace-sys`'s crate's logic. Eventually this will hopefully be a good step towards using the `backtrace` crate directly from crates.io itself, but we're not quite there yet! Hopefully this is a small incremental first step we can take.
2018-05-30Replace libbacktrace with a submoduleAlex Crichton-0/+0
While we're at it update the `backtrace` crate from crates.io. It turns out that the submodule's configure script has gotten a lot more finnicky as of late so also switch over to using the `cc` crate manually which allows to avoid some hacks around the configure script as well
2018-05-30std: Delete bundled libbacktrace moduleAlex Crichton-40219/+0
2018-02-10fix typos in src/{bootstrap,ci,etc,lib{backtrace,core,fmt_macros}}Matthias Krüger-2/+2
2017-11-21fix some typosMartin Lindhe-2/+2
2017-11-08Disable `mmap` in `libbacktrace` on Apple platformsJohn Colanduoni-0/+12
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.
2017-10-25std: Disable usage of mmap allocator in libbacktraceAlex Crichton-1/+1
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.
2017-09-05Fix missing line numbers on i686.kennytm-7/+6
2017-09-02Add upstream pull request link for libbacktraceJohn Colanduoni-0/+3
2017-09-02Add libbacktrace support for Apple platformsJohn Colanduoni-0/+1426
2017-08-03Update libbacktrace config.sub from http://git.savannah.gnu.org/cgit/config.gitIan Douglas Scott-12/+35
This is needed for it to compile on Redox.
2017-02-04libbacktrace: Fix uninitialized variableVadim Petrochenkov-1/+3
2016-05-19std: Update libbacktrace for a soundness fixAlex Crichton-4/+31
This updates the vendor'd libbacktrace source to tpick up gcc-mirror/gcc@047a1c2f which is a soundness fix for when a backtrace is generated on executables that do not have debug information.
2016-02-09Minor spelling fixesCarlos E. Garcia-1/+1
2016-01-15libbacktrace: Reapply Rust-specific changesVadim Petrochenkov-4/+4
New: Fix for https://github.com/rust-lang/rust/issues/28447 Merged: openbsd support: https://github.com/rust-lang/rust/commit/fcb30a0b67b1bd4acbc3422ff74fac5d031ae1ae bitrig integration: https://github.com/rust-lang/rust/commit/cd8f31759fd04b9ce9c903fa00cae81dc5bba546 Not merged: https://github.com/rust-lang/rust/commit/d4fc3ec208186f0a9de8d05a6802c95b07e058fd @Diggsey says this change was unintended (https://github.com/rust-lang/rust/pull/30666#issuecomment-168616892)
2016-01-14Update libbacktrace to 11b1a9c476b2df514d620d479407f2cf217cb373Vadim Petrochenkov-1926/+474
Source: https://github.com/gcc-mirror/gcc
2016-01-03Undo whitespace tweaks pending libbacktrace mergeMichael McConville-91/+91
These should probably be submitted upstream. They're inevitably going to complicate merges, and because they're non-functional changes this just isn't worth our time.
2015-10-19Clean whitespaceCarlos Liam-58/+58
Remove leading newlines; replace lines containing only whitespace with empty lines; replace multiple trailing newlines with a single newline; remove trailing whitespace in lines
2015-10-06Clean newlinesCarlos Liam-33/+33
2015-09-04Add line numbers to windows-gnu backtracesDiggory Blake-1/+1
Fix formatting Remove unused imports Refactor Fix msvc build Fix line lengths Formatting Enable backtrace tests Fix using directive on mac pwd info Work-around buildbot PWD bug, and fix libbacktrace configuration Use alternative to `env -u` which is not supported on bitrig Disable tests on 32-bit windows gnu
2015-09-04Reapply rust-specific changes to libbacktraceTim Cuthbertson-2/+2
This includes the changes from commits: - cd8f31759fd04b9ce9c903fa00cae81dc5bba546 - fcb30a0b67b1bd4acbc3422ff74fac5d031ae1ae
2015-09-04Update libbacktrace to r227145Diggory Blake-62/+1159
2015-04-11Reapply rust-specific changes to libbacktraceTim Cuthbertson-2/+2
This includes the changes from commits: - cd8f31759fd04b9ce9c903fa00cae81dc5bba546 - fcb30a0b67b1bd4acbc3422ff74fac5d031ae1ae
2015-04-11Update libbacktrace to r220112 (from GCC SVN)Tim Cuthbertson-184/+548
2015-03-15Strip trailing whitespaceTamir Duberstein-77/+77
2015-03-15Strip all leading/trailing newlinesTamir Duberstein-2/+0
2015-02-11bitrig integrationDave Huseby-3/+3
2015-02-01openbsd supportSébastien Marie-1/+1
2014-03-11Bundle libbacktrace with the compilerAlex Crichton-0/+38720
This will soon be used to print backtraces on failure