[PATCH] D45578: Add a command line option `fregister_global_dtors_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
Sun Apr 15 22:46:21 PDT 2018


ahatanak updated this revision to Diff 142597.
ahatanak marked 4 inline comments as done.
ahatanak retitled this revision from "Add a command line option 'fregister_dtor_with_atexit' to register     destructor functions annotated with __attribute__((destructor)) using     __cxa_atexit or atexit." to "Add a command line option `fregister_global_dtors_with_atexit` to register     destructor functions annotated with __attribute__((destructor)) using     __cxa_atexit or atexit.".
ahatanak edited the summary of this revision.
ahatanak added a comment.

Address review comments.


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.142597.patch
Type: text/x-patch
Size: 17698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180416/e3573710/attachment-0001.bin>


More information about the cfe-commits mailing list