llvm:opt<> objects in libraries

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?

Currently there is no way to prevent llvm::opt objects from being in your library code, but it shouldn’t really impede your use of an LLVM library. You don’t have to actually parse command line flags into the structures.