[haiku-bugs] Re: [Haiku] #8064: dladdr doesn't work for local symbols

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 04 Apr 2012 19:59:26 -0000

#8064: dladdr doesn't work for local symbols
   Reporter:  unitedroad   |      Owner:  axeld
       Type:  bug          |     Status:  new
   Priority:  normal       |  Milestone:  R1
  Component:               |    Version:  R1/alpha3
  System/libroot.so        |   Keywords:  dladdr, shared library, so, dlfcn
 Resolution:               |   Blocking:
 Blocked By:               |   Platform:  All
Has a Patch:  1            |

Comment (by bonefish):

 Replying to [comment:11 hamish]:
 > I thought breaking out of a nested loop was one of the few acceptable
 uses for a goto. So it would be preferable to flag and break then?

 A flag is fine. Alternatively by introducing an iterator class for the
 symbol hash table (which could be use elsewhere as well) the double loop
 could be compacted to a single loop and a simple break would suffice to
 leave the loop.

Ticket URL: <http://dev.haiku-os.org/ticket/8064#comment:12>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: