| commit | 73ec3fa250ca0bd848cb7467daa487f5c1591c06 | [log] [tgz] |
|---|---|---|
| author | Martin Storsjö <martin@martin.st> | Thu Apr 15 14:01:06 2021 +0300 |
| committer | Copybara-Service <copybara-worker@google.com> | Sun May 09 13:47:23 2021 -0700 |
| tree | a7b874c0f8180640909896e2a21369c18ce66975 | |
| parent | bd13ac8ffecbc1cb596b2159e6dcc6f64c9209b0 [diff] |
[llvm-cvtres] Reduce the set of dependencies of llvm-cvtres. NFC. Don't use createBinary() but call the WindowsResource class directly. The createBinary() function references all supported object file types and ends up pulling way more from all the underlying libraries than what is necessary. This shrinks a stripped llvm-cvtres from 4.6 MB to 463 KB. Differential Revision: https://reviews.llvm.org/D100833 GitOrigin-RevId: ee34ca34c6675531c0d86709ebf99beef2ee7db1