Commit Graph

23 Commits

Author SHA1 Message Date
Alex Crichton
2f3c412c84 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.
2017-10-25 07:51:36 -07:00
kennytm
aa6bd117bb
Fix missing line numbers on i686. 2017-09-05 08:41:43 +08:00
John Colanduoni
e3de40e72f
Add upstream pull request link for libbacktrace 2017-09-02 03:24:16 +08:00
John Colanduoni
e8121b3d16
Add libbacktrace support for Apple platforms 2017-09-02 03:24:15 +08:00
Ian Douglas Scott
0fad1b1cd8
Update libbacktrace config.sub from http://git.savannah.gnu.org/cgit/config.git
This is needed for it to compile on Redox.
2017-08-03 21:12:15 -07:00
Vadim Petrochenkov
d14b268b9d libbacktrace: Fix uninitialized variable 2017-02-04 01:18:10 +03:00
Alex Crichton
a42115375b std: Update libbacktrace for a soundness fix
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-05-19 11:56:43 -07:00
Carlos E. Garcia
02aa0aff2f Minor spelling fixes 2016-02-09 11:52:39 -05:00
Vadim Petrochenkov
55e2b7e1b4 libbacktrace: Reapply Rust-specific changes
New:
Fix for https://github.com/rust-lang/rust/issues/28447

Merged:
openbsd support: fcb30a0b67
bitrig integration: cd8f31759f

Not merged:
d4fc3ec208
@Diggsey says this change was unintended (https://github.com/rust-lang/rust/pull/30666#issuecomment-168616892)
2016-01-15 19:24:50 +03:00
Vadim Petrochenkov
5f57121fb3 Update libbacktrace to 11b1a9c476b2df514d620d479407f2cf217cb373
Source: https://github.com/gcc-mirror/gcc
2016-01-14 20:58:38 +03:00
Michael McConville
810c035450 Undo whitespace tweaks pending libbacktrace merge
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.
2016-01-03 20:53:31 -05:00
Carlos Liam
f9d056f1b7 Clean whitespace
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-19 11:16:31 -04:00
Carlos Liam
3967e1c940 Clean newlines 2015-10-06 11:14:11 -04:00
Diggory Blake
d4fc3ec208 Add line numbers to windows-gnu backtraces
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-04 01:25:15 +01:00
Tim Cuthbertson
ac12c7f1ed Reapply rust-specific changes to libbacktrace
This includes the changes from commits:

 - cd8f31759f
 - fcb30a0b67
2015-09-04 01:25:12 +01:00
Diggory Blake
34277600ac Update libbacktrace to r227145 2015-09-04 01:25:09 +01:00
Tim Cuthbertson
10073c23c6 Reapply rust-specific changes to libbacktrace
This includes the changes from commits:

 - cd8f31759f
 - fcb30a0b67
2015-04-11 22:30:17 +10:00
Tim Cuthbertson
0369efa75b Update libbacktrace to r220112 (from GCC SVN) 2015-04-11 22:14:30 +10:00
Tamir Duberstein
f5765793b6 Strip trailing whitespace 2015-03-15 11:25:43 -07:00
Tamir Duberstein
d51047ded0 Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
Dave Huseby
cd8f31759f bitrig integration 2015-02-11 14:49:06 -08:00
Sébastien Marie
fcb30a0b67 openbsd support 2015-02-01 14:41:38 +01:00
Alex Crichton
9a21b90077 Bundle libbacktrace with the compiler
This will soon be used to print backtraces on failure
2014-03-11 21:02:34 -07:00