All Questions
Tagged with stack-unwinding libunwind
5 questions
0
votes
0
answers
173
views
Exception Handling in C++ Implementation: What is the "alternative function entry point", entered by the unwinding library to destruct local objects?
Here is a very simple file in c++
class C {
public:
C(){}
~C(){}
};
void g()
{
throw std::exception();
}
void f()
{
C c;
g();
}
int main()
{
return 0;
}
LLVM produces the ...
3
votes
1
answer
1k
views
Using libunwind for implementing exceptions
Working on a compiler, need some assistance understanding and working with libunwind. Here's what I have so far:
#define UNW_LOCAL_ONLY
#include <libunwind.h>
#include <stdio.h>
#include &...
1
vote
1
answer
719
views
_Unwind_ and unw_ functions (LLVM's libunwind)
I'm new to the LLVM's libunwind library. Could you please tell me what's the purpose and the difference of the two sets of functions that libunwind provides:
functions with the prefix _Unwind_
...
1
vote
1
answer
432
views
unw_init_remote failed with UNW_EBADREG
On android, while collecting traces of a particular native process, I observed that the backtrace of a particular thread of the process was not collected(libunwind is used to collect the backtrace).
...
1
vote
0
answers
179
views
Is it safe to iterate through a stack frame?
In my previous question, I was trying to see if I could programmatically obtain a stack trace of a child process from its parent.
I've successfully done so, but now another question has arisen in my ...