[haiku-bugs] Re: [Haiku] #10402: [PATCHSET] Port kernel, bootloader and runtime_loader to Clang.

  • From: "pdziepak" <trac@xxxxxxxxxxxx>
  • Date: Sun, 12 Jan 2014 23:18:16 -0000

#10402: [PATCHSET] Port kernel, bootloader and runtime_loader to Clang.
---------------------------+----------------------------
   Reporter:  js           |      Owner:  nobody
       Type:  enhancement  |     Status:  new
   Priority:  normal       |  Milestone:  R1
  Component:  - General    |    Version:  R1/Development
 Resolution:               |   Keywords:
 Blocked By:               |   Blocking:
Has a Patch:  1            |   Platform:  All
---------------------------+----------------------------

Comment (by pdziepak):

 It is not true that GCC doesn't call correctly destructors of static
 objects. It is using `__cxa_atexit` to register appropriate destructors.
 This (together with `__cxa_finalize`) allows static objects in dynamically
 loaded libraries to be destroyed when the library is unloaded.

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

Other related posts: