[llvm-dev] LLD/Link find out what triggers 80mb exe

Carlo Kok via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 7 04:58:51 PDT 2019

Is there any way to find out what causes a 80mb executable with lld/link?

The object files are compiled with -function-sections and -data-sections, the originating .lib is 270mb, but I'm calling 1 function in it, which might call some stuff recursively, but I don't know how to find out what exactly triggers the use. Is there a commandline option that shows this?

(repro is 286 mb) : http://gofile.me/4Gflq/OOr8WKU12

More information about the llvm-dev mailing list