[PATCH] D28791: [compiler-rt][crt] Simple crtbegin and crtend implementation

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 17:39:48 PDT 2017


phosek updated this revision to Diff 92748.
phosek edited the summary of this revision.
phosek added a comment.

I have expanded the implementation to also handle EH frame registration and iterating over .ctors/.dtors (including the necessary CMake change to detect whether the target platform uses .init_array/.fini_array or .ctors/.dtors).


Repository:
  rL LLVM

https://reviews.llvm.org/D28791

Files:
  cmake/Modules/AddCompilerRT.cmake
  cmake/config-ix.cmake
  lib/CMakeLists.txt
  lib/crt/CMakeLists.txt
  lib/crt/crtbegin.c
  lib/crt/crtend.c
  test/CMakeLists.txt
  test/crt/CMakeLists.txt
  test/crt/dso_handle.cpp
  test/crt/lit.cfg
  test/crt/lit.site.cfg.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28791.92748.patch
Type: text/x-patch
Size: 19311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170323/374e210a/attachment.bin>


More information about the llvm-commits mailing list