This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

_Unwind_FindEnclosingFunction vs darwin


Andrew,
   As I mentioned in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991#c36,
the darwin unwinder maintainer looked at the crash of gcj(ecj1) when compiling
java code on darwin10. He claims that the origin of the problem is the use of
the FSF unwinder extension _Unwind_FindEnclosingFunction which is not implemented
in the system unwinder on darwin10. It appears that for darwin10 and later we
will have to replace the call to _Unwind_FindEnclosingFunction on darwin with
code using dladdr() to discover if the function is known to the dynamic loader
...assuming that the use of _Unwind_FindEnclosingFunction is to tell if the code
address is static of dynamic(JIT) code.
          Jack


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]