Skip to content
Snippets Groups Projects
  1. Apr 17, 2013
  2. Apr 15, 2013
  3. Apr 14, 2013
  4. Apr 11, 2013
    • Nadav Har'El's avatar
      Added backtrace() function · 66c62b59
      Nadav Har'El authored
      Implemented a backtrace() function API-compatible with glibc's function with
      the same name. I need it for the leak detector (to determine which allocations
      come from the same call tree), but it can also be useful for other things, and
      perhaps even used by some applications (I am guessing the JVM does not use it,
      though).
      
      My implementation uses the "_Unwind*" functions which are part of gcc's runtime
      libgcc_s, so they are supposedly correctly synchronized with the way gcc actually
      keeps track of the call hierarchy. If I understand correctly, these functions
      use a cut-down version of libunwind which is included in libgcc_s. I also wrote
      an implementation using libunwind directly (left in the code in #if 0), but
      couldn't get it to compile because of library dependency hell.
      66c62b59
    • Avi Kivity's avatar
      loader: fold main_thread into main_cont · c61535e2
      Avi Kivity authored
      Minor code simplification.
      c61535e2
    • Avi Kivity's avatar
      loader: join the main program thread · e5bcb240
      Avi Kivity authored
      Avoids a zombie.
      e5bcb240
Loading