[llvm-dev] llvm:opt<> objects in libraries

Lorenzo Laneve via llvm-dev llvm-dev at lists.llvm.org
Sat May 14 09:58:00 PDT 2016


Good morning,

in libraries there are llvm::opt objects about the command line args that I don't want to be linked into my executable (such as llc opts)
I use that tool for flags (in the meanwhile I'll probably implement something myself), my doubt is that even if I don't use that tool those symbols will be added to the executable anyway.

I'm currently using 'llvm-config all'.
What flags should I use for the backend interface functions?


More information about the llvm-dev mailing list