| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Add CMake file for Windows build
Enable Windows builds in Travis CI
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
aux is a reserved filename on Windows. Presence of the directory
in the repo will prevent a git checkout on Windows.
The aux directory contained GPL code related to autotools,
it appears to not be directly referenced or necessary.
Assume it was a commit error. Remove it.
Add aux to the list of autotool releated ignores in
.gitignore
|
|
|
|
|
|
|
|
|
|
|
|
| |
* x86_64: Add fixup code if previous RIP was invalid
Previous RIP could become invalid if a bad function pointer
was followed. Calling unwind from a signal frame in this case
skips the frame that called the bad pointer.
Check if the value at RSP looks to be valid in this case. It
should be the value of RIP pushed to the stack by the CALL instruction.
If it looks valid use this value as the next frames RIP else fallback
to the previous method.
|
|
|
|
|
|
|
|
| |
dwarf: Push correct CFA onto stack for dwarf expression evaluation.
This change fixes a bug where stale CFAs were pushed onto the dwarf
expression stack before expression evaluation. Some optimising compilers
emit CFI which relies on this being correct.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Introduce a new test case that is derived from test-resume-sig, but
using the SA_SIGINFO sigaction() flag. This case is referred in the
linux kernel sources as "realtime" signal handler, and is handled
differently in the kernel on many architectures and in libunwind as
well.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Program test-coredump-unwind was modified to map backing files based on
virtual addresses instead of segment numbers.
The crasher.c is a program that essentially calls some functions and
then writes to invalid address causing a crash. Before that, it detects
which executables are mapped to which virtual addresses and writes this
information to a file suitable for consumption by test-coredump-unwind.
The mapping information is obtained form /proc/self/maps, so currently
it only works on linux.
The test itself is a shell script, which first runs the program and then
runs test-coredump-unwind on the resulting core and address space
map file to check whether the stack trace obtained from the dump roughly
corresponds to what it should look like.
Signed-off-by: Martin Milata <mmilata@redhat.com>
|
|
|
|
|
|
| |
Prevents 'git status' from listing the tests/[GL]perf-trace.
Signed-off-by: Ken Werner <ken.werner@linaro.org>
|
|
|
|
|
|
|
| |
We'd like to avoid calls to all malloc related functions
so libunwind is still usable from such allocators.
Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
|
| |
|
|
|
|
|
|
| |
Prevents 'git status' from listing the tests/test-static-link.
Signed-off-by: Ken Werner <ken.werner@linaro.org>
|
|
|
|
|
|
|
|
| |
This test case relies on old libunwind internals such as the arm_stackframe.
Since the ARM extbtl-parser now operates on the DWARF model directly the
arm-extbl-test isn't of any particular use anymore.
Signed-off-by: Ken Werner <ken.werner@linaro.org>
|
|
|
|
|
|
| |
Uses .ARM.exidx and .ARM.extbl sections to produce a backtrace.
Signed-off-by: Ken Werner <ken.werner@linaro.org>
|
|
Improves quality of 'git status'. Use 'git ls-files -o' to see all
untracked files.
Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
|