[PATCH] D52749: [LLD][COFF] Fix ordering of CRT global initializers in COMDAT sections

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 3 10:21:04 PDT 2018


aganea updated this revision to Diff 168129.
aganea added a comment.

Updated diff. The order of the CRT initializers is now the same as before; with the exception of COMDAT sections which now appear in the same order as declared in the .cpp file.

Please let me know if any other changes are required. Thanks!


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D52749

Files:
  COFF/Chunks.cpp
  COFF/Chunks.h
  COFF/Writer.cpp
  test/COFF/Inputs/crt-dyn-initializer-order_1.yaml
  test/COFF/Inputs/crt-dyn-initializer-order_2.yaml
  test/COFF/crt-dyn-initializer-order.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52749.168129.patch
Type: text/x-patch
Size: 9792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181003/c346f5bd/attachment.bin>


More information about the llvm-commits mailing list