Add -linkonce-templates for emitting linkonce_odr syms instead of weak_odr.

This commit is contained in:
Matti Niemenmaa
2010-03-09 23:07:08 +02:00
parent b38845e88e
commit 68daadf53c
6 changed files with 24 additions and 10 deletions

View File

@@ -313,6 +313,9 @@ cl::opt<bool> singleObj("singleobj",
cl::desc("Create only a single output object file"),
cl::ZeroOrMore);
cl::opt<bool> linkonceTemplates("linkonce-templates",
cl::desc("Use linkonce_odr linkage for template symbols instead of weak_odr"),
cl::ZeroOrMore);
static cl::extrahelp footer("\n"
"-d-debug can also be specified without options, in which case it enables all\n"