[PATCH] D39972: [LLD] [COFF] Support ENTRY and SUBSYSTEM in .drectve sections

David Major via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 12:36:18 PST 2017


dmajor updated this revision to Diff 124002.
dmajor marked an inline comment as done.
dmajor added a comment.

While writing a test I found a problem: the code that infers /entry should not run if we've previously defined one in a drectve. (In Mozilla's build, it worked by accident because the drectve was redundantly specifying the same function that got inferred.) Updated the patch.


https://reviews.llvm.org/D39972

Files:
  COFF/Driver.cpp
  test/COFF/entry-drectve.test
  test/COFF/subsystem-drectve.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39972.124002.patch
Type: text/x-patch
Size: 4114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171122/98661aae/attachment.bin>


More information about the llvm-commits mailing list