The testing on the resource section of executables produced by lld has been very lax, and allowed a major bug to go unnoticed when we switched from shelling out to cvtres.exe to using llvm's own library. These additional tests should cover all the major failure points.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lld/test/COFF/Inputs/test_resource.rc | ||
---|---|---|
51 ↗ | (On Diff #104084) | Fix |
lld/test/COFF/combinedresources.test | ||
1 ↗ | (On Diff #104084) | Rename this file to combined-resources.test as separating words using hyphens is a local convention in this directory. |
4 ↗ | (On Diff #104084) | Please rename test_resources.res combined-resources.test as using the same name is a local convention too. |
22 ↗ | (On Diff #104084) | Please fix. |
Comment Actions
LGTM with this fix.
lld/test/COFF/Inputs/combined-resources.rc | ||
---|---|---|
12–13 ↗ | (On Diff #104264) | Please rename them combined-resources-{x,y}.bmp or something so that we can easily keep track of which files are being used by which tests. |