[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #10186 [Tor]: Backtrace support for windows



#10186: Backtrace support for windows
-----------------------------+--------------------------------
     Reporter:  nickm        |      Owner:
         Type:  enhancement  |     Status:  needs_revision
     Priority:  normal       |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-client windows
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------

Comment (by cypherpunks):

 Found working way to unwind stack trace with FPO for gcc generated code.
 Attached code working the same way as glibc's backtrace() does, it uses
 the same libgcc's functions. It's probably need fresh libgcc and static
 link, but no so much overhead. Need testing with "old" gcc.
 It needs "-fasynchronous-unwind-tables" for proper stack trace if
 optimizations enabled. New gcc generates unwind tables by default.
 Symbol part not tested, probably it will require more code and more
 overhead in binary.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10186#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs