summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-rc/versioninfo-padding.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-readobj] Print the resource type textually for .res filesMartin Storsjo2019-08-291-1/+1
| | | | | | | | This already is done when dumping resources from coff objects. Differential Revision: https://reviews.llvm.org/D66816 llvm-svn: 370308
* [llvm-rc] Support '--' for delimiting options from input pathsMartin Storsjo2019-01-161-1/+1
| | | | | | | | | | This allows avoiding conflicts between paths that begin with the same chars as some llvm-rc options (which can be used with either slashes or dashes). Differential Revision: https://reviews.llvm.org/D56743 llvm-svn: 351305
* [llvm-rc] Exclude padding from sizes in versioninfo resourcesMartin Storsjo2018-05-071-0/+33
Normally when writing something that requires padding, we first measure the length of the written payload data, then write padding if necessary. For a recursive structure like versioninfo, this means that the padding is excluded from the size of the inner element, but included in the size of the enclosing block. Rc.exe excludes the final padding (but not the padding of earlier children) from all levels of the hierarchy. To achieve this, don't pad after each block or value, but only before starting the next one. We still pad after completing the toplevel versioninfo resource, so this won't affect other resource types. Differential Revision: https://reviews.llvm.org/D46510 llvm-svn: 331668
OpenPOWER on IntegriCloud