aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-04-15 14:01:06 +0300
committerMartin Storsjö <martin@martin.st>2021-04-21 11:50:10 +0300
commitee34ca34c6675531c0d86709ebf99beef2ee7db1 (patch)
treecb8a6f5b0427b59a2c4336a7d752a5d46ce9b787 /flang/lib/Frontend/CompilerInvocation.cpp
parent11072a0bdbc079b2bc0c2337413f62665dc31f49 (diff)
downloadllvm-ee34ca34c6675531c0d86709ebf99beef2ee7db1.zip
llvm-ee34ca34c6675531c0d86709ebf99beef2ee7db1.tar.gz
llvm-ee34ca34c6675531c0d86709ebf99beef2ee7db1.tar.bz2
[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
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions