This is an archive of the discontinued LLVM Phabricator instance.

Use llvm's own resource libraries instead of shelling out to external cvtres.
AbandonedPublic

Authored by ecbeckmann on Jun 15 2017, 1:54 PM.

Details

Reviewers
None
Summary

Changed WindowsResourceCOFFWriter to write to a memory buffer instead of file. Also got rid of my own Machine enum and use the one defined in COFF.h

Event Timeline

ecbeckmann created this revision.Jun 15 2017, 1:54 PM

Fixed a bug where .rsrc sections were marked as discardable memory, and were therefore incorrectly moved to the end of the image.

ecbeckmann abandoned this revision.Jun 15 2017, 6:47 PM

Being reviewed in D34265.