[cfe-commits] [PATCH] clang/CodeGen: [PR9593] Rework -fno-use-cxa-atexit not to invoke local dtors unconditionally, but use atexit().
NAKAMURA Takumi
geek4civic at gmail.com
Wed Mar 28 19:41:08 PDT 2012
-fno-use-cxa-atexit is by default on cygming, due to unavailability of
__cxa_atexit().
---
lib/CodeGen/CGDeclCXX.cpp | 58 +++++++++++++++++++++++++++--
lib/CodeGen/CodeGenFunction.h | 14 +++++--
test/CodeGenCXX/arm.cpp | 14 +++++-
test/CodeGenCXX/global-dtor-no-atexit.cpp | 35 +++++++++++++++--
4 files changed, 106 insertions(+), 15 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-clang-CodeGen-PR9593-Rework-fno-use-cxa-atexit-n.patch.txt
Type: text/x-patch
Size: 8801 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120329/9e94eed3/attachment.bin>
More information about the cfe-commits
mailing list