diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-05-18 22:26:36 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-05-18 22:26:36 +0000 |
commit | 61b41e07378b78cb004cd8830573d0c1e17a0d21 (patch) | |
tree | 7e5bc584939964b5c0efe2f5fb31de9dda58461e /lldb/source/Commands/CommandObjectThread.cpp | |
parent | ae7619a8a358667ea6ade5050512d0a27c03f432 (diff) | |
download | llvm-61b41e07378b78cb004cd8830573d0c1e17a0d21.zip llvm-61b41e07378b78cb004cd8830573d0c1e17a0d21.tar.gz llvm-61b41e07378b78cb004cd8830573d0c1e17a0d21.tar.bz2 |
Work around a glibc bug: backtrace() spuriously fails if
- glibc is dynamically linked, and
- libgcc_s is unavailable (for instance, another library is being used to
provide the compiler runtime or libgcc is statically linked), and
- the target is x86_64.
If we run backtrace() and it fails to find any stack frames, try using
_Unwind_Backtrace instead if available.
llvm-svn: 269992
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions