[PATCH] D45578: Add a command line option 'fregister_dtor_with_atexit' to register destructor functions annotated with __attribute__((destructor)) using __cxa_atexit or atexit.
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 12 10:47:08 PDT 2018
ahatanak updated this revision to Diff 142218.
ahatanak edited the summary of this revision.
ahatanak added a comment.
Fix an error in emitGlobalDtorWithCXAAtExit and make sure @dso_handle is hidden.
Repository:
rC Clang
https://reviews.llvm.org/D45578
Files:
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.def
lib/CodeGen/CGDeclCXX.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/ItaniumCXXABI.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/constructor-attribute.c
test/Driver/cxa-atexit.cpp
test/Driver/rewrite-legacy-objc.m
test/Driver/rewrite-objc.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45578.142218.patch
Type: text/x-patch
Size: 17094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180412/7e18d727/attachment-0001.bin>
More information about the cfe-commits
mailing list