mirror of git://sourceware.org/git/glibc.git
In C++11 18.5.12 says "Objects shall not be destroyed as a result of calling quick_exit." In C11 quick_exit is silent about thread object destruction. Therefore to make glibc C++ compliant we do not call any thread local destructors. A new regression test verifies the fix. I will note that C++11 18.5.3 makes it clear that C++ defines additional requirements for _Exit() to prevent it from executing destructors. Given that the point of _Exit() is to terminate the process immediately it makes sense the C and C++ should line up and avoid calling destructors. No failures. New regtest passes. |
||
|---|---|---|
| .. | ||
| bits | ||
| sys | ||
| Implies | ||
| Makefile | ||
| Versions | ||
| ____longjmp_chk.S | ||
| arch-fork.h | ||
| brk.c | ||
| c++-types.data | ||
| clone.S | ||
| fcntl.c | ||
| fxstat.c | ||
| fxstatat.c | ||
| getsysstats.c | ||
| kernel-features.h | ||
| kernel_stat.h | ||
| ld.abilist | ||
| libBrokenLocale.abilist | ||
| libanl.abilist | ||
| libc.abilist | ||
| libcrypt.abilist | ||
| libdl.abilist | ||
| libm.abilist | ||
| libnsl.abilist | ||
| libpthread.abilist | ||
| libresolv.abilist | ||
| librt.abilist | ||
| libthread_db.abilist | ||
| libutil.abilist | ||
| localplt.data | ||
| lxstat.c | ||
| mmap.S | ||
| msgctl.c | ||
| profil-counter.h | ||
| pt-vfork.S | ||
| semctl.c | ||
| setgroups.c | ||
| shlib-versions | ||
| shmctl.c | ||
| sigcontextinfo.h | ||
| syscall.S | ||
| syscalls.list | ||
| sysdep-cancel.h | ||
| sysdep.S | ||
| sysdep.h | ||
| vfork.S | ||
| xstat.c | ||